brintos

brintos / llvm-project-archived public Read only

0
0
Text · 966 B · 97719a7 Raw
34 lines · plain
1; Avoid `!DL->isLittleEndian() && !CLI->enableBigEndian()` missmatch on PPC64BE.2; REQUIRES: target-byteorder-little-endian3 4; -global-isel=1 is unsupported.5; XFAIL: target=loongarch{{.*}}6; XFAIL: target=nvptx{{.*}}7; XFAIL: target=sparc{{.*}}8; XFAIL: target=hexagon-{{.*}}9; XFAIL: target=arm64ec-{{.*}}10 11; RUN: llc < %s -O3 -global-isel=0 -fast-isel=012; RUN: llc < %s -O3 -global-isel=1 -fast-isel=013; RUN: llc < %s -O3 -global-isel=0 -fast-isel=114 15; RUN: llc < %s -O0 -global-isel=0 -fast-isel=016; RUN: llc < %s -O0 -global-isel=1 -fast-isel=017; RUN: llc < %s -O0 -global-isel=0 -fast-isel=118 19define i1 @test_runtime() local_unnamed_addr {20entry:21  %allow = call i1 @llvm.allow.runtime.check(metadata !"test_check")22  ret i1 %allow23}24 25declare i1 @llvm.allow.runtime.check(metadata) nounwind26 27define i1 @test_ubsan() local_unnamed_addr {28entry:29  %allow = call i1 @llvm.allow.ubsan.check(i8 7)30  ret i1 %allow31}32 33declare i1 @llvm.allow.ubsan.check(i8) nounwind34