From ed8d76ec60745f88b1dfd28876dd2d1143c04279 Mon Sep 17 00:00:00 2001 From: Richard Smith <richard@metafoo.co.uk> Date: Thu, 25 Mar 2021 18:09:40 -0700 Subject: [PATCH] Explicitly enable the new pass manager in this test. Otherwise it fails under -DENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=OFF. --- llvm/test/Transforms/LoopUnswitch/AMDGPU/uniform-unswitch.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.