source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/AMDGPU/si-literal-folding.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 528 bytes
Line 
1; XFAIL: *
2; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs < %s | FileCheck %s
3
4; CHECK-LABEL: {{^}}main:
5; CHECK-NOT: v_mov_b32_e32 v{{[0-9]+}}, 0xbf4353f8
6
7define void @main(float) #0 {
8main_body:
9  %1 = fmul float %0, 0x3FE86A7F00000000
10  %2 = fmul float %0, 0xBFE86A7F00000000
11  call void @llvm.SI.export(i32 15, i32 0, i32 1, i32 12, i32 0, float %1, float %1, float %2, float %2)
12  ret void
13}
14
15declare void @llvm.SI.export(i32, i32, i32, i32, i32, float, float, float, float)
16
17attributes #0 = { "ShaderType"="1" }
Note: See TracBrowser for help on using the repository browser.