[llvm] [PPC] Lower unreachable IR instruction to a trap. (PR #101379)

Kai Luo via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 19:50:32 PDT 2024


================
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc -mtriple=powerpc64-unknown-unknown %s -o - | FileCheck %s
+; RUN: llc -ppc-disable-trap-on-unreachable -mtriple=powerpc64-unknown-unknown %s -o - | FileCheck %s
----------------
bzEq wrote:

Any reason why adding the option rather than update the assembly?

https://github.com/llvm/llvm-project/pull/101379


More information about the llvm-commits mailing list