[llvm] r356669 - Fixup opt-remarks.ll gold plugin test. NFC

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 07:35:06 PDT 2019


Author: dmgreen
Date: Thu Mar 21 07:35:06 2019
New Revision: 356669

URL: http://llvm.org/viewvc/llvm-project?rev=356669&view=rev
Log:
Fixup opt-remarks.ll gold plugin test. NFC

Now that rL356594 has added a TailCallElim pass to LTO, the call gets marked as
tail.

Modified:
    llvm/trunk/test/tools/gold/X86/opt-remarks.ll

Modified: llvm/trunk/test/tools/gold/X86/opt-remarks.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/gold/X86/opt-remarks.ll?rev=356669&r1=356668&r2=356669&view=diff
==============================================================================
--- llvm/trunk/test/tools/gold/X86/opt-remarks.ll (original)
+++ llvm/trunk/test/tools/gold/X86/opt-remarks.ll Thu Mar 21 07:35:06 2019
@@ -12,7 +12,7 @@
 
 ; Check that @f is inlined after optimizations.
 ; CHECK-LABEL: define i32 @_start
-; CHECK-NEXT:  %a.i = call i32 @bar()
+; CHECK-NEXT:  %a.i = tail call i32 @bar()
 ; CHECK-NEXT:  ret i32 %a.i
 ; CHECK-NEXT: }
 




More information about the llvm-commits mailing list