[llvm] AMDGPU/GlobalISel: Implement RegBankLegalizeRules for amdgcn_rsq and amdgcn_rsq_clamp. (PR #187672)

Petar Avramovic via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 08:12:57 PDT 2026


================
@@ -1,5 +1,7 @@
-; RUN: llc -mtriple=amdgcn < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s
-; RUN: llc -mtriple=amdgcn -mcpu=tonga -mattr=-flat-for-global < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s
+; RUN: llc -mtriple=amdgcn < %s | FileCheck -check-prefixes=SI,SDAG,FUNC %s
+; RUN: llc -mtriple=amdgcn -mcpu=tonga -mattr=-flat-for-global < %s | FileCheck -check-prefixes=SI,SDAG,FUNC %s
+; RUN: llc -mtriple=amdgcn -global-isel=1 -new-reg-bank-select -global-isel-abort=1 < %s | FileCheck -check-prefixes=SI,GISEL,FUNC %s
----------------
petar-avramovic wrote:

should not use -global-isel-abort=1

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


More information about the llvm-commits mailing list