[llvm] 47fba9e - [test] Pin partial-unswitch.ll to legacy PM

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 6 11:53:19 PST 2021


Author: Arthur Eubanks
Date: 2021-01-06T11:53:07-08:00
New Revision: 47fba9e1eae63fa30c9f9a7d9ca42e694ba74b0a

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

LOG: [test] Pin partial-unswitch.ll to legacy PM

The new PM does not have loop-unswitch, it only has simple-loop-unswitch.

Added: 
    

Modified: 
    llvm/test/Transforms/LoopUnswitch/partial-unswitch.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopUnswitch/partial-unswitch.ll b/llvm/test/Transforms/LoopUnswitch/partial-unswitch.ll
index 742e35a99b5d..c7dcacbedd3a 100644
--- a/llvm/test/Transforms/LoopUnswitch/partial-unswitch.ll
+++ b/llvm/test/Transforms/LoopUnswitch/partial-unswitch.ll
@@ -1,4 +1,4 @@
-; RUN: opt -loop-unswitch -verify-dom-info -verify-memoryssa -S %s | FileCheck %s
+; RUN: opt -loop-unswitch -verify-dom-info -verify-memoryssa -S -enable-new-pm=0 %s | FileCheck %s
 
 declare void @clobber()
 


        


More information about the llvm-commits mailing list