[llvm] [AArch64][GlobalISel] Add always legal action builders. (PR #197238)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 09:48:21 PDT 2026


================
@@ -1509,6 +1509,11 @@ AArch64LegalizerInfo::AArch64LegalizerInfo(const AArch64Subtarget &ST)
 
   getActionDefinitionsBuilder({G_SCMP, G_UCMP}).lower();
 
+  getActionDefinitionsBuilder({G_INTRINSIC, G_INTRINSIC_W_SIDE_EFFECTS})
+      .alwaysLegal();
----------------
arsenm wrote:

I don't think this is necessary, amdgpu doesn't have it 

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


More information about the llvm-commits mailing list