[llvm] [AMDGPU] Handled G_UBSANTRAP GlobalIsel (PR #134492)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 6 19:53:03 PDT 2025
================
@@ -7045,6 +7047,28 @@ bool AMDGPULegalizerInfo::legalizeDebugTrap(MachineInstr &MI,
return true;
}
+bool AMDGPULegalizerInfo::legalizeUbsanTrap(MachineInstr &MI,
+ MachineRegisterInfo &MRI,
+ MachineIRBuilder &B) const {
----------------
arsenm wrote:
This code is identical to legalizeDebugTrap above, they should just use the same implementation function
https://github.com/llvm/llvm-project/pull/134492
More information about the llvm-commits
mailing list