[PATCH] D42770: [X86] Don't emit KTEST instructions unless only the Z flag is being used

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 14:07:56 PST 2018


craig.topper added inline comments.


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:18133
 
+// Try to select this as a KTEST+SETCC if possible.
+static SDValue EmitKTEST(SDValue Op0, SDValue Op1, ISD::CondCode CC,
----------------
zvi wrote:
> Which tests cover this?
The tests that switched from ktest to kortest in D42772


Repository:
  rL LLVM

https://reviews.llvm.org/D42770





More information about the llvm-commits mailing list