Files
Petar Avramovic c56e892f5c AMDGPU/GlobalISel: Remove -new-reg-bank-select option (#203929)
AMDGPU's -global-isel pipeline that uses AMDGPURegBankSelect and
AMDGPURegBankLegalize, previously -global-isel -new-reg-bank-select,
is now the default -global-isel pipeline.

Remove -new-reg-bank-select option from the compiler.
Remove -new-reg-bank-select from all llvm regression tests.
Edit a couple comments to reference RegBankLegalize instead of
-new-reg-bank-select.
2026-06-22 12:42:21 +02:00

15 lines
516 B
LLVM

; RUN: not llc -global-isel=0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -filetype=null %s 2>&1 | FileCheck %s
; RUN: not llc -global-isel -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -filetype=null %s 2>&1 | FileCheck %s
; FIXME: To actually support stackguard, need to fix intrinsic to
; return pointer in any address space.
; CHECK: error: unable to lower stackguard
define i1 @test_stackguard(ptr %p1) {
%p2 = call ptr @llvm.stackguard()
%res = icmp ne ptr %p2, %p1
ret i1 %res
}
declare ptr @llvm.stackguard()