Author: Arthur Eubanks Date: 2020-12-09T22:04:59-08:00 New Revision: bfcd3627f149908ca190ee949b8f094812cdb4ac
URL: https://github.com/llvm/llvm-project/commit/bfcd3627f149908ca190ee949b8f094812cdb4ac DIFF: https://github.com/llvm/llvm-project/commit/bfcd3627f149908ca190ee949b8f094812cdb4ac.diff LOG: [test] Fix coro-retcon.ll under NPM The full aa-pipeline is required to remove the extra store. Added: Modified: llvm/test/Transforms/Coroutines/coro-retcon.ll Removed: ################################################################################ diff --git a/llvm/test/Transforms/Coroutines/coro-retcon.ll b/llvm/test/Transforms/Coroutines/coro-retcon.ll index a5b3392d8167..90264127c713 100644 --- a/llvm/test/Transforms/Coroutines/coro-retcon.ll +++ b/llvm/test/Transforms/Coroutines/coro-retcon.ll @@ -1,6 +1,6 @@ ; First example from Doc/Coroutines.rst (two block loop) converted to retcon -; RUN: opt < %s -enable-coroutines -O2 -S | FileCheck --check-prefixes=CHECK %s -; RUN: opt < %s -enable-coroutines -aa-pipeline=basic-aa -passes='default<O2>' -S | FileCheck --check-prefixes=CHECK,NPM %s +; RUN: opt < %s -enable-coroutines -O2 -S -enable-new-pm=0 | FileCheck %s +; RUN: opt < %s -enable-coroutines -aa-pipeline=default -passes='default<O2>' -S | FileCheck %s define i8* @f(i8* %buffer, i32 %n) { entry: @@ -75,7 +75,6 @@ entry: ; CHECK-NEXT: call void @print(i32 [[INC]]) ; CHECK-NEXT: [[LOAD:%.*]] = load i32, i32* [[SLOT]], align 4 ; CHECK-NEXT: [[INC:%.*]] = add i32 [[LOAD]], 1 -; NPM-NEXT: store i32 [[INC]], i32* [[SLOT]], align 4 ; CHECK-NEXT: call void @print(i32 [[INC]]) ; CHECK-NEXT: ret i32 0 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits