Skip to content

Commit 412e3e3

Browse files
committed
[ExtendLifetimes][NFC] Add explicit triple to remaining fake-use tests
One of the tests for the new fake use intrinsic are failing on darwin buildbots due to relying on behaviour for their expected triple; this commit adds explicit triples to the few remaining fake-use tests that didn't have them. Fixes commit 3d08ade (#86149). Buildbot failures: https://lab.llvm.org/buildbot/#/builders/23/builds/2505
1 parent 1827086 commit 412e3e3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; assert in DAGlegalizer with fake use of half precision float.
22
; Changes to half float promotion.
3-
; RUN: llc -stop-after=finalize-isel -o - %s | FileCheck %s
3+
; RUN: llc -stop-after=finalize-isel -mtriple=x86_64-unknown-linux -o - %s | FileCheck %s
44
;
55
; CHECK: bb.0.entry:
66
; CHECK-NEXT: %0:fr16 = FsFLD0SH

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; assert in DAGlegalizer with fake use of 1-element vectors.
2-
; RUN: llc -stop-after=finalize-isel -filetype=asm -o - %s | FileCheck %s
2+
; RUN: llc -stop-after=finalize-isel -mtriple=x86_64-unknown-linux -filetype=asm -o - %s | FileCheck %s
33
;
44
; ModuleID = 't2.cpp'
55
; source_filename = "t2.cpp"

llvm/test/DebugInfo/X86/fake-use.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
; Make sure the fake use of 'b' at the end of 'foo' causes location information for 'b'
44
; to extend all the way to the end of the function.
55

6-
; RUN: %llc_dwarf -O2 -filetype=obj -dwarf-linkage-names=Abstract < %s | llvm-dwarfdump --debug-info --debug-line -v - -o %t
6+
; RUN: %llc_dwarf -O2 -filetype=obj -mtriple=x86_64-unknown-linux -dwarf-linkage-names=Abstract < %s | llvm-dwarfdump --debug-info --debug-line -v - -o %t
77
; RUN: %python %p/../Inputs/check-fake-use.py %t
8-
; RUN: sed -e 's,call void (...) @llvm.fake.use,;,' %s | %llc_dwarf - -O2 -filetype=obj -dwarf-linkage-names=Abstract | llvm-dwarfdump --debug-info --debug-line -v - -o %t
8+
; RUN: sed -e 's,call void (...) @llvm.fake.use,;,' %s | %llc_dwarf - -O2 -filetype=obj -mtriple=x86_64-unknown-linux -dwarf-linkage-names=Abstract | llvm-dwarfdump --debug-info --debug-line -v - -o %t
99
; RUN: not %python %p/../Inputs/check-fake-use.py %t
1010

1111
; Generated with:

0 commit comments

Comments
 (0)