[llvm] eb66b04 - [InstCombine] improve test names; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 15 06:30:06 PDT 2020
Author: Sanjay Patel
Date: 2020-09-15T09:29:48-04:00
New Revision: eb66b04cbecfbc971bf8b8abbb4c58dbd4a7564a
URL: https://github.com/llvm/llvm-project/commit/eb66b04cbecfbc971bf8b8abbb4c58dbd4a7564a
DIFF: https://github.com/llvm/llvm-project/commit/eb66b04cbecfbc971bf8b8abbb4c58dbd4a7564a.diff
LOG: [InstCombine] improve test names; NFC
This is not a valid transform unless we can prove
that the program does not read errno after the pow
call and before some other function changes it.
Added:
Modified:
llvm/test/Transforms/InstCombine/pow-1.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/InstCombine/pow-1.ll b/llvm/test/Transforms/InstCombine/pow-1.ll
index 724f004e6ca9..dfb62f6d0af0 100644
--- a/llvm/test/Transforms/InstCombine/pow-1.ll
+++ b/llvm/test/Transforms/InstCombine/pow-1.ll
@@ -247,8 +247,8 @@ define <2 x double> @test_simplify6v(<2 x double> %x) {
; Check pow(x, 0.5) -> fabs(sqrt(x)), where x != -infinity.
-define float @test_simplify7(float %x) {
-; CHECK-LABEL: @test_simplify7(
+define float @powf_libcall_to_select_sqrt(float %x) {
+; CHECK-LABEL: @powf_libcall_to_select_sqrt(
; ANY-NEXT: [[SQRTF:%.*]] = call float @sqrtf(float [[X:%.*]])
; ANY-NEXT: [[ABS:%.*]] = call float @llvm.fabs.f32(float [[SQRTF]])
; ANY-NEXT: [[ISINF:%.*]] = fcmp oeq float [[X]], 0xFFF0000000000000
@@ -275,8 +275,8 @@ define float @test_simplify7(float %x) {
ret float %retval
}
-define double @test_simplify8(double %x) {
-; CHECK-LABEL: @test_simplify8(
+define double @pow_libcall_to_select_sqrt(double %x) {
+; CHECK-LABEL: @pow_libcall_to_select_sqrt(
; LIB-NEXT: [[SQRT:%.*]] = call double @sqrt(double [[X:%.*]])
; LIB-NEXT: [[ABS:%.*]] = call double @llvm.fabs.f64(double [[SQRT]])
; LIB-NEXT: [[ISINF:%.*]] = fcmp oeq double [[X]], 0xFFF0000000000000
More information about the llvm-commits
mailing list