[PATCH] D22511: [InstCombine] Enable cast-folding in logic(cast(icmp), cast(icmp))
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 19 13:33:42 PDT 2016
grosser closed this revision.
grosser added a comment.
Committed in https://llvm.org/svn/llvm-project/llvm/trunk@275989
================
Comment at: test/Transforms/InstCombine/zext.ll:90
@@ +89,3 @@
+ ret i8 %5
+}
+
----------------
Could you add a corresponding version for the other logical operators?
================
Comment at: test/Transforms/InstCombine/zext.ll:111
@@ +110,3 @@
+ %8 = or i8 %5, %7
+ ret i8 %8
+}
----------------
Nice.
https://reviews.llvm.org/D22511
More information about the llvm-commits
mailing list