[llvm-commits] [llvm] r158175 - in /llvm/trunk: lib/Target/X86/X86ISelLowering.cpp test/CodeGen/X86/iabs.ll
anton at korobeynikov.info
Fri Jun 8 13:19:21 CDT 2012
> This transformation is enabled for X86 only.
> Are you talking about whether the code will work prior to the transformation?
LLVM prior to this transforms tries not to insert instructions which
are unsupported on some CPUs.
Now you're inserting the stuff unconditionally. You should check
HasCmov() of X86Subtarget instead in order to decide whether this
transformation is allowed.
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-commits