[PATCH] D100095: [InstCombine] Conditionally emitting nsw/nuw flags when combining two add operations

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 14 05:55:09 PDT 2021


nikic added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/icmp-add.ll:747
+  %t2=add i8 %y, -35
+  %tobool=icmp eq i8 %2, %1
+  ret i1 %tobool
----------------
These should be `%t2, %t1` (this causes the build failure).


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

https://reviews.llvm.org/D100095



More information about the llvm-commits mailing list