[llvm] [RISCV][GISel] Select trap and debugtrap. (PR #73171)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 12:26:18 PST 2023


================
@@ -1099,6 +1103,27 @@ bool RISCVInstructionSelector::selectFPCompare(MachineInstr &MI,
   return true;
 }
 
+bool RISCVInstructionSelector::selectIntrinsicWithSideEffects(
----------------
michaelmaitland wrote:

I think it will pass in the G_INTRINSIC, G_INTRINSIC_CONVERGENT, and G_INTRINSIC_CONVERGENT_W_WIDE_EFFECTS too, but it shouldn't.

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


More information about the llvm-commits mailing list