[PATCH] D106959: [PowerPC] swdiv builtins for XL compatibility

Victor Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 6 09:15:32 PDT 2021


NeHuang added inline comments.


================
Comment at: clang/test/CodeGen/builtins-ppc-xlcompat-swdiv.c:17
+// CHECK-LABEL: @test_swdiv(
+// CHECK:    [[TMP0:%.*]] = load double, double* @a, align 8
+// CHECK-NEXT:    [[TMP1:%.*]] = load double, double* @b, align 8
----------------
nit: alignment with CHECKs below. Same for the other test cases.


================
Comment at: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:452
+
+  addPass(createPPCLowerCheckedFPArithPass());
 }
----------------
+1, 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106959/new/

https://reviews.llvm.org/D106959



More information about the llvm-commits mailing list