[llvm] [SPIR-V] Allow intrinsics with aggregate return type to reach GlobalISel (PR #108893)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 13:13:47 PDT 2024
================
@@ -590,6 +593,29 @@ bool SPIRVInstructionSelector::spvSelect(Register ResVReg,
case TargetOpcode::G_USUBSAT:
return selectExtInst(ResVReg, ResType, I, CL::u_sub_sat);
+ case TargetOpcode::G_SADDO:
+ report_fatal_error(
+ "Selection of a signed addition with overflow is not implemented",
----------------
efriedma-quic wrote:
Instead of report_fatal_error, can you allow this to fallback to the generic expansion code?
https://github.com/llvm/llvm-project/pull/108893
More information about the llvm-commits
mailing list