[PATCH] D21774: [X86] Transform setcc + movzbl into xorl + setcc

Ahmed Bougacha via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 28 08:37:20 PDT 2016


ab added a subscriber: ab.
ab added a comment.

Have you considered doing this in DAGToDAG?  I'm not sure you'll be able to model the imp-use of EFLAGS (IIRC that's also a longstanding deficiency of pattern matching: we can't turn explicit into implicit), but seems worth a try?


================
Comment at: lib/Target/X86/CMakeLists.txt:20
@@ -19,1 +19,3 @@
   X86FastISel.cpp
+  X86FixupBWInsts.cpp
+  X86FixupLEAs.cpp
----------------
Go ahead and reorder separately?


http://reviews.llvm.org/D21774





More information about the llvm-commits mailing list