forked from OSchip/llvm-project
[AVR] Factor out mayLoad in tablegen patterns
Patch by Gergo Erdi. llvm-svn: 314897
This commit is contained in:
parent
d00f9c1ef1
commit
3f71f1c91e
|
@ -1417,6 +1417,7 @@ def STDWPtrQRr : Pseudo<(outs),
|
|||
// Load program memory operations.
|
||||
let canFoldAsLoad = 1,
|
||||
isReMaterializable = 1,
|
||||
mayLoad = 1,
|
||||
hasSideEffects = 0 in
|
||||
{
|
||||
let Defs = [R0],
|
||||
|
@ -1437,8 +1438,7 @@ hasSideEffects = 0 in
|
|||
Requires<[HasLPMX]>;
|
||||
|
||||
// Load program memory, while postincrementing the Z register.
|
||||
let mayLoad = 1,
|
||||
Defs = [R31R30] in
|
||||
let Defs = [R31R30] in
|
||||
{
|
||||
def LPMRdZPi : FLPMX<0,
|
||||
1,
|
||||
|
|
Loading…
Reference in New Issue