[llvm] ed8d76e - Explicitly enable the new pass manager in this test.

Richard Smith via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 25 18:10:49 PDT 2021


Author: Richard Smith
Date: 2021-03-25T18:10:36-07:00
New Revision: ed8d76ec60745f88b1dfd28876dd2d1143c04279

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

LOG: Explicitly enable the new pass manager in this test.

Otherwise it fails under -DENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=OFF.

Added: 
    

Modified: 
    llvm/test/Transforms/LoopUnswitch/AMDGPU/uniform-unswitch.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopUnswitch/AMDGPU/uniform-unswitch.ll b/llvm/test/Transforms/LoopUnswitch/AMDGPU/uniform-unswitch.ll
index 943a5338bacb..b9feba0cfda3 100644
--- a/llvm/test/Transforms/LoopUnswitch/AMDGPU/uniform-unswitch.ll
+++ b/llvm/test/Transforms/LoopUnswitch/AMDGPU/uniform-unswitch.ll
@@ -1,4 +1,4 @@
-; RUN: opt -mtriple=amdgcn-- -O3 -S %s | FileCheck %s
+; RUN: opt -mtriple=amdgcn-- -O3 -S -enable-new-pm=1 %s | FileCheck %s
 ; XFAIL: *
 
 ; Check that loop unswitch happened and condition hoisted out of the loop.


        


More information about the llvm-commits mailing list