You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
14
external/llvm/test/CodeGen/NVPTX/fcos-no-fast-math.ll
vendored
Normal file
14
external/llvm/test/CodeGen/NVPTX/fcos-no-fast-math.ll
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
; RUN: not llc < %s -march=nvptx -mcpu=sm_20 2>&1 | FileCheck %s
|
||||
|
||||
; Check that we fail to select fcos without fast-math enabled
|
||||
|
||||
declare float @llvm.cos.f32(float)
|
||||
|
||||
; CHECK: LLVM ERROR: Cannot select: {{.*}}: f32 = fcos
|
||||
; CHECK: In function: test_fcos_safe
|
||||
define float @test_fcos_safe(float %a) #0 {
|
||||
%r = tail call float @llvm.cos.f32(float %a)
|
||||
ret float %r
|
||||
}
|
||||
|
||||
attributes #0 = { "unsafe-fp-math" = "false" }
|
Reference in New Issue
Block a user