summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan McKay <me@dylanmckay.io>2017-10-14 22:30:44 +0000
committerDylan McKay <me@dylanmckay.io>2017-10-14 22:30:44 +0000
commit87bc8d750582f39c40896ecd8809c4f66c5bab04 (patch)
treef6a758ec834c246dce27635df9f16af29c28730e
parentd14542fb7425d7e62d19111999943cf7561774c6 (diff)
Merging r314897:
------------------------------------------------------------------------ r314897 | dylanmckay | 2017-10-04 23:36:07 +1300 (Wed, 04 Oct 2017) | 3 lines [AVR] Factor out mayLoad in tablegen patterns Patch by Gergo Erdi. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_50@315835 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/AVR/AVRInstrInfo.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/AVR/AVRInstrInfo.td b/lib/Target/AVR/AVRInstrInfo.td
index 8c7b6f243928..7d1bfc8d85e0 100644
--- a/lib/Target/AVR/AVRInstrInfo.td
+++ b/lib/Target/AVR/AVRInstrInfo.td
@@ -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,