[PATCH] D44785: Lowering x86 adds/addus/subs/subus intrinsics (llvm part)

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 7 13:03:20 PDT 2018


craig.topper added a comment.

Move the new IR tests to a new test file. vector-arith-sat.ll or something like that. Intrinsic tests should only call intrinsic functions.



================
Comment at: lib/Target/X86/X86ISelLowering.cpp:36007
+static SDValue detectAddSubSatPattern(SDValue In, EVT VT, SelectionDAG &DAG,
+                                const X86Subtarget &Subtarget,
+                                const SDLoc &DL) {
----------------
Correct indentation


Repository:
  rL LLVM

https://reviews.llvm.org/D44785





More information about the llvm-commits mailing list