diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2018-08-14 19:13:07 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2018-08-14 19:13:07 +0000 |
| commit | b1546da0e8849d58fcdcf17fa1f2fab0cdae70a4 (patch) | |
| tree | c94723a980418d7c0a5f5658003fa47ef9db03d7 /llvm | |
| parent | c15a87848b5d51992a475098845ef48e30c36d24 (diff) | |
| download | bcm5719-llvm-b1546da0e8849d58fcdcf17fa1f2fab0cdae70a4.tar.gz bcm5719-llvm-b1546da0e8849d58fcdcf17fa1f2fab0cdae70a4.zip | |
[InstCombine] fix typos in tests; NFC
See D50036.
llvm-svn: 339713
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/Transforms/InstCombine/pow-sqrt.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/Transforms/InstCombine/pow-sqrt.ll b/llvm/test/Transforms/InstCombine/pow-sqrt.ll index 7d677c9f94d..ec7c73e9754 100644 --- a/llvm/test/Transforms/InstCombine/pow-sqrt.ll +++ b/llvm/test/Transforms/InstCombine/pow-sqrt.ll @@ -85,13 +85,13 @@ define <2 x double> @pow_intrinsic_half_ninf(<2 x double> %x) { define double @pow_libcall_half_nsz(double %x) { ; CHECK-LABEL: @pow_libcall_half_nsz( -; CHECK-NEXT: [[SQRT:%.*]] = call ninf double @sqrt(double [[X:%.*]]) -; CHECK-NEXT: [[ABS:%.*]] = call ninf double @llvm.fabs.f64(double [[SQRT]]) -; CHECK-NEXT: [[ISINF:%.*]] = fcmp ninf oeq double [[X]], 0xFFF0000000000000 +; CHECK-NEXT: [[SQRT:%.*]] = call nsz double @sqrt(double [[X:%.*]]) +; CHECK-NEXT: [[ABS:%.*]] = call nsz double @llvm.fabs.f64(double [[SQRT]]) +; CHECK-NEXT: [[ISINF:%.*]] = fcmp nsz oeq double [[X]], 0xFFF0000000000000 ; CHECK-NEXT: [[TMP1:%.*]] = select i1 [[ISINF]], double 0x7FF0000000000000, double [[ABS]] ; CHECK-NEXT: ret double [[TMP1]] ; - %pow = call ninf double @pow(double %x, double 5.0e-01) + %pow = call nsz double @pow(double %x, double 5.0e-01) ret double %pow } @@ -209,10 +209,10 @@ define <2 x double> @pow_intrinsic_neghalf_ninf(<2 x double> %x) { define double @pow_libcall_neghalf_nsz(double %x) { ; CHECK-LABEL: @pow_libcall_neghalf_nsz( -; CHECK-NEXT: [[POW:%.*]] = call ninf double @pow(double [[X:%.*]], double -5.000000e-01) +; CHECK-NEXT: [[POW:%.*]] = call nsz double @pow(double [[X:%.*]], double -5.000000e-01) ; CHECK-NEXT: ret double [[POW]] ; - %pow = call ninf double @pow(double %x, double -5.0e-01) + %pow = call nsz double @pow(double %x, double -5.0e-01) ret double %pow } |

