Skip to content

Commit 9a58b12

Browse files
committed
[ExtendLifetimes][NFC] Add explicit triple to new fake-use tests
Several tests for the new fake use intrinsic are failing on NVPTX buildbots due to relying on behaviour for their expected triple; this commit adds that triple to each of them to prevent failures. Fixes commit 3d08ade (#86149). Example buildbot failures: https://lab.llvm.org/buildbot/#/builders/160/builds/4175 https://lab.llvm.org/buildbot/#/builders/180/builds/4173
1 parent 9ce4af5 commit 9a58b12

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

llvm/test/CodeGen/MIR/X86/fake-use-tailcall.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# return temp;
2323
# }
2424
#
25-
# RUN: llc -run-pass=codegenprepare -o - %s | FileCheck %s
25+
# RUN: llc -run-pass=codegenprepare -mtriple=x86_64-unknown-linux -o - %s | FileCheck %s
2626
#
2727
# CHECK: define{{.*}}foo
2828
# CHECK: if.then:

llvm/test/CodeGen/X86/fake-use-scheduler.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Prevent the machine scheduler from moving instructions past FAKE_USE.
2-
# RUN: llc -run-pass machine-scheduler -debug-only=machine-scheduler 2>&1 -o - %s | FileCheck %s
2+
# RUN: llc -run-pass machine-scheduler -mtriple=x86_64-unknown-linux -debug-only=machine-scheduler 2>&1 -o - %s | FileCheck %s
33
# REQUIRES: asserts
44
#
55
# We make sure that, beginning with the first FAKE_USE instruction,

llvm/test/CodeGen/X86/fake-use-tailcall.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -stop-after=finalize-isel - | FileCheck %s --implicit-check-not FAKE_USE
1+
; RUN: llc < %s -stop-after=finalize-isel -mtriple=x86_64-unknown-linux - | FileCheck %s --implicit-check-not FAKE_USE
22
; Fake uses following tail calls should be pulled in front
33
; of the TCRETURN instruction. Fake uses using something defined by
44
; the tail call or after it should be suppressed.

llvm/test/CodeGen/X86/fake-use-vector2.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -stop-after=finalize-isel -filetype=asm -o - %s | FileCheck %s
1+
; RUN: llc -stop-after=finalize-isel -mtriple=x86_64-unknown-linux -filetype=asm -o - %s | FileCheck %s
22
;
33
; Make sure we can split vectors that are used as operands of FAKE_USE.
44

llvm/test/CodeGen/X86/fake-use-zero-length.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc < %s -stop-after=finalize-isel | FileCheck %s --implicit-check-not=FAKE_USE
1+
; RUN: llc < %s -stop-after=finalize-isel -mtriple=x86_64-unknown-linux | FileCheck %s --implicit-check-not=FAKE_USE
22
;
33
; Make sure SelectionDAG does not crash handling fake uses of zero-length arrays
44
; and structs. Check also that they are not propagated.

0 commit comments

Comments
 (0)