From 47fba9e1eae63fa30c9f9a7d9ca42e694ba74b0a Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Wed, 6 Jan 2021 11:51:36 -0800 Subject: [PATCH] [test] Pin partial-unswitch.ll to legacy PM The new PM does not have loop-unswitch, it only has simple-loop-unswitch. --- llvm/test/Transforms/LoopUnswitch/partial-unswitch.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/Transforms/LoopUnswitch/partial-unswitch.ll b/llvm/test/Transforms/LoopUnswitch/partial-unswitch.ll index 742e35a..c7dcacb 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() -- 2.7.4