[PATCH] D53190: ARM: avoid infinite combining loop

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 28 07:24:29 PST 2018


samparker accepted this revision.
samparker added a comment.
This revision is now accepted and ready to land.

Great to see those other test changes! LGTM with the few minor comments, no need to re-review. cheers!



================
Comment at: llvm/lib/Target/ARM/ARMISelLowering.h:88
       CMOV,         // ARM conditional move instructions.
+      OpaqueSUBS,   // Subtract that DAG combiner should ignore.
 
----------------
Maybe just SUBS now? And with an updated comment.


================
Comment at: llvm/lib/Target/ARM/ARMInstrInfo.td:3631
 
+
 // ADD and SUB with 's' bit set.
----------------
whitespace.


================
Comment at: llvm/lib/Target/ARM/ARMInstrThumb.td:1285
 }
-
 def tSUBi8 :                    // A8.6.210 T2
----------------
whitespace.


================
Comment at: llvm/lib/Target/ARM/ARMInstrThumb2.td:2084
 
+
 // ADD and SUB with 's' bit set. No 12-bit immediate (T4) variants.
----------------
whitespace.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D53190/new/

https://reviews.llvm.org/D53190





More information about the llvm-commits mailing list