[llvm] a52d1e7 - [NFC] Port all LTO tests to `-passes=` syntax

Roman Lebedev via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 14:05:54 PST 2022


Author: Roman Lebedev
Date: 2022-12-09T01:04:46+03:00
New Revision: a52d1e78926ac786405f5211a77c913e4ae8a47f

URL: https://github.com/llvm/llvm-project/commit/a52d1e78926ac786405f5211a77c913e4ae8a47f
DIFF: https://github.com/llvm/llvm-project/commit/a52d1e78926ac786405f5211a77c913e4ae8a47f.diff

LOG: [NFC] Port all LTO tests to `-passes=` syntax

Added: 
    

Modified: 
    llvm/test/LTO/X86/keep-used-puts-during-instcombine.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/LTO/X86/keep-used-puts-during-instcombine.ll b/llvm/test/LTO/X86/keep-used-puts-during-instcombine.ll
index c1a8c1e09e467..97ae449ac9a91 100644
--- a/llvm/test/LTO/X86/keep-used-puts-during-instcombine.ll
+++ b/llvm/test/LTO/X86/keep-used-puts-during-instcombine.ll
@@ -1,4 +1,4 @@
-; RUN: opt -temporarily-allow-old-pass-syntax -S -instcombine <%s | FileCheck %s
+; RUN: opt -S -passes=instcombine <%s | FileCheck %s
 ; rdar://problem/16165191
 ; llvm.compiler.used functions should not be renamed
 


        


More information about the llvm-commits mailing list