[llvm] r318417 - [InstCombine] regenerate test checks; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 16 08:38:42 PST 2017
Author: spatel
Date: Thu Nov 16 08:38:42 2017
New Revision: 318417
URL: http://llvm.org/viewvc/llvm-project?rev=318417&view=rev
Log:
[InstCombine] regenerate test checks; NFC
Modified:
llvm/trunk/test/Transforms/InstCombine/fabs-libcall.ll
Modified: llvm/trunk/test/Transforms/InstCombine/fabs-libcall.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/fabs-libcall.ll?rev=318417&r1=318416&r2=318417&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/fabs-libcall.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/fabs-libcall.ll Thu Nov 16 08:38:42 2017
@@ -2,19 +2,20 @@
declare x86_fp80 @fabsl(x86_fp80)
-; CHECK-LABEL: @replace_fabs_call_f80(
-; CHECK-NEXT: %fabsl = call x86_fp80 @llvm.fabs.f80(x86_fp80 %x)
-; CHECK-NEXT: ret x86_fp80 %fabsl
define x86_fp80 @replace_fabs_call_f80(x86_fp80 %x) {
+; CHECK-LABEL: @replace_fabs_call_f80(
+; CHECK-NEXT: [[TMP1:%.*]] = call x86_fp80 @llvm.fabs.f80(x86_fp80 %x)
+; CHECK-NEXT: ret x86_fp80 [[TMP1]]
+;
%fabsl = tail call x86_fp80 @fabsl(x86_fp80 %x)
ret x86_fp80 %fabsl
-
}
-; CHECK-LABEL: @fmf_replace_fabs_call_f80(
-; CHECK-NEXT: %fabsl = call nnan x86_fp80 @llvm.fabs.f80(x86_fp80 %x)
-; CHECK-NEXT: ret x86_fp80 %fabsl
define x86_fp80 @fmf_replace_fabs_call_f80(x86_fp80 %x) {
+; CHECK-LABEL: @fmf_replace_fabs_call_f80(
+; CHECK-NEXT: [[TMP1:%.*]] = call nnan x86_fp80 @llvm.fabs.f80(x86_fp80 %x)
+; CHECK-NEXT: ret x86_fp80 [[TMP1]]
+;
%fabsl = tail call nnan x86_fp80 @fabsl(x86_fp80 %x)
ret x86_fp80 %fabsl
}
More information about the llvm-commits
mailing list