[PATCH] D14840: [X86] Detect SAD patterns and emit psadbw instructions on X86.
    Simon Pilgrim via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Mar 20 09:14:32 PDT 2016
    
    
  
RKSimon added a comment.
Minor clanup request.
Also, can you get rid of the stack instructions in the test (nounwind?)
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:29090
@@ +29089,3 @@
+  SmallVector<SDValue, 16> Ops(
+      NumConcat, DAG.getConstant(0, DL, Op0.getOperand(0).getValueType()));
+  Ops[0] = Op0.getOperand(0);
----------------
DAG.getConstant(0, DL, InVT)
http://reviews.llvm.org/D14840
    
    
More information about the llvm-commits
mailing list