
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
16 lines
455 B
LLVM
16 lines
455 B
LLVM
; assert in DAGlegalizer with fake use of half precision float.
|
|
; Changes to half float promotion.
|
|
; RUN: llc -stop-after=finalize-isel -mtriple=x86_64-unknown-linux -o - %s | FileCheck %s
|
|
;
|
|
; CHECK: bb.0.entry:
|
|
; CHECK-NEXT: %0:fr16 = FsFLD0SH
|
|
; CHECK-NEXT: FAKE_USE killed %0
|
|
;
|
|
target triple = "x86_64-unknown-unknown"
|
|
|
|
define void @_Z6doTestv() local_unnamed_addr optdebug {
|
|
entry:
|
|
tail call void (...) @llvm.fake.use(half 0xH0000)
|
|
ret void
|
|
}
|