[PATCH] D127554: [PowerPC] Allow llvm.ppc.cfence to accept pointer types

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 24 01:12:58 PDT 2022


nemanjai added inline comments.


================
Comment at: llvm/test/CodeGen/PowerPC/cfence-double.ll:7
 
-; CHECK: Intrinsic has incorrect argument type!
-; CHECK: ptr @llvm.ppc.cfence.f64
+; CHECK: Assertion `VT.isInteger() && Operand.getValueType().isInteger() && "Invalid ANY_EXTEND!"' failed
+
----------------
Is the plan here to do something better than assert? Perhaps emit a fatal error? What happens on non-assert builds on these tests now? Something terrible?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127554



More information about the llvm-commits mailing list