Skip to content

Commit 34e6874

Browse files
committed
Fix tests
1 parent 37703e7 commit 34e6874

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

llvm/test/CodeGen/AMDGPU/GlobalISel/inline-asm-lowering-errors.ll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@ define amdgpu_kernel void @indirect_input() {
2626
; CHECK: error: invalid constraint 'i': unsupported constraint
2727
define amdgpu_kernel void @badimm() {
2828
tail call void asm sideeffect "s_nop", "i"(i32 poison)
29-
ret
30-
void
29+
ret void
3130
}

llvm/test/CodeGen/AMDGPU/GlobalISel/inline-asm-mismatched-size.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2-
; RUN: llc -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' -mtriple=amdgcn -mcpu=fiji -stop-after=irtranslator -verify-machineinstrs %s -o - 2>%t | FileCheck %s
2+
; RUN: not llc -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' -mtriple=amdgcn -mcpu=fiji -stop-after=irtranslator -verify-machineinstrs %s -o - 2>%t | FileCheck %s
33
; RUN: FileCheck -check-prefix=ERR %s < %t
44

55
; ERR: remark: <unknown>:0:0: unable to translate instruction: call: ' %sgpr = call <4 x i32> asm sideeffect "; def $0", "={s[8:12]}"()' (in function: return_type_is_too_big_vector)

0 commit comments

Comments
 (0)