[llvm] c27214c - [AMDGPU] Fold llvm.amdgcn.cos and llvm.amdgcn.sin intrinsics (fix tests)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 3 03:41:06 PDT 2020
Author: Jay Foad
Date: 2020-06-03T11:40:52+01:00
New Revision: c27214c23446e423ec2e7eb8650a65cc5f0a16aa
URL: https://github.com/llvm/llvm-project/commit/c27214c23446e423ec2e7eb8650a65cc5f0a16aa
DIFF: https://github.com/llvm/llvm-project/commit/c27214c23446e423ec2e7eb8650a65cc5f0a16aa.diff
LOG: [AMDGPU] Fold llvm.amdgcn.cos and llvm.amdgcn.sin intrinsics (fix tests)
Try to fix Windows buildbots.
Added:
Modified:
llvm/test/Analysis/ConstantFolding/AMDGPU/cos.ll
llvm/test/Analysis/ConstantFolding/AMDGPU/sin.ll
Removed:
################################################################################
diff --git a/llvm/test/Analysis/ConstantFolding/AMDGPU/cos.ll b/llvm/test/Analysis/ConstantFolding/AMDGPU/cos.ll
index 3b498040d449..afbd20d1ce19 100644
--- a/llvm/test/Analysis/ConstantFolding/AMDGPU/cos.ll
+++ b/llvm/test/Analysis/ConstantFolding/AMDGPU/cos.ll
@@ -135,8 +135,8 @@ define void @test_f64(double* %p) {
; CHECK-LABEL: @test_f64(
; CHECK-NEXT: store volatile double 1.000000e+00, double* [[P:%.*]], align 8
; CHECK-NEXT: store volatile double 1.000000e+00, double* [[P]], align 8
-; CHECK-NEXT: store volatile double 0x3FE6A09E667F3BCD, double* [[P]], align 8
-; CHECK-NEXT: store volatile double 0x3FE6A09E667F3BCD, double* [[P]], align 8
+; CHECK-NEXT: store volatile double 0x3FE6A09E667F3B{{.*}}, double* [[P]], align 8
+; CHECK-NEXT: store volatile double 0x3FE6A09E667F3B{{.*}}, double* [[P]], align 8
; CHECK-NEXT: store volatile double 0.000000e+00, double* [[P]], align 8
; CHECK-NEXT: store volatile double 0.000000e+00, double* [[P]], align 8
; CHECK-NEXT: store volatile double -1.000000e+00, double* [[P]], align 8
diff --git a/llvm/test/Analysis/ConstantFolding/AMDGPU/sin.ll b/llvm/test/Analysis/ConstantFolding/AMDGPU/sin.ll
index 96698bee5ec3..825b974f00bf 100644
--- a/llvm/test/Analysis/ConstantFolding/AMDGPU/sin.ll
+++ b/llvm/test/Analysis/ConstantFolding/AMDGPU/sin.ll
@@ -135,8 +135,8 @@ define void @test_f64(double* %p) {
; CHECK-LABEL: @test_f64(
; CHECK-NEXT: store volatile double 0.000000e+00, double* [[P:%.*]], align 8
; CHECK-NEXT: store volatile double 0.000000e+00, double* [[P]], align 8
-; CHECK-NEXT: store volatile double 0x3FE6A09E667F3BCC, double* [[P]], align 8
-; CHECK-NEXT: store volatile double 0xBFE6A09E667F3BCC, double* [[P]], align 8
+; CHECK-NEXT: store volatile double 0x3FE6A09E667F3B{{.*}}, double* [[P]], align 8
+; CHECK-NEXT: store volatile double 0xBFE6A09E667F3B{{.*}}, double* [[P]], align 8
; CHECK-NEXT: store volatile double 1.000000e+00, double* [[P]], align 8
; CHECK-NEXT: store volatile double -1.000000e+00, double* [[P]], align 8
; CHECK-NEXT: store volatile double 0.000000e+00, double* [[P]], align 8
More information about the llvm-commits
mailing list