OSDN Git Service

[AMDGPU] change test to avoid NaN math
authorSanjay Patel <spatel@rotateright.com>
Mon, 19 Mar 2018 19:26:22 +0000 (19:26 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 19 Mar 2018 19:26:22 +0000 (19:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327891 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/AMDGPU/jump-address.ll

index 9fde31f..e134114 100644 (file)
@@ -43,7 +43,7 @@ IF13:                                             ; preds = %ELSE
   %20 = load <4 x float>, <4 x float> addrspace(8)* null
   %21 = extractelement <4 x float> %20, i32 0
   %22 = fsub float -0.000000e+00, %21
-  %23 = fadd float 0xFFF8000000000000, %22
+  %23 = fadd float 0x3FF8000000000000, %22
   br label %ENDIF
 }