[llvm] 0059f6f - [NewPM] Add -basic-aa to pr33196.ll
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 11:28:02 PDT 2020
Author: Arthur Eubanks
Date: 2020-07-02T11:27:52-07:00
New Revision: 0059f6ffe84241b9728e48c1eabdaf1a6abbef66
URL: https://github.com/llvm/llvm-project/commit/0059f6ffe84241b9728e48c1eabdaf1a6abbef66
DIFF: https://github.com/llvm/llvm-project/commit/0059f6ffe84241b9728e48c1eabdaf1a6abbef66.diff
LOG: [NewPM] Add -basic-aa to pr33196.ll
The legacy pass manager implicitly adds BasicAA, but the new PM does
not. This causes pr33196.ll to fail under NPM.
There are almost certainly lots of other failures like this, wanted to
get some input on if adding -basic-aa to tests makes sense at scale.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D82915
Added:
Modified:
llvm/test/Transforms/NewGVN/pr33196.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/NewGVN/pr33196.ll b/llvm/test/Transforms/NewGVN/pr33196.ll
index 140965ae0051..e117537c93ec 100644
--- a/llvm/test/Transforms/NewGVN/pr33196.ll
+++ b/llvm/test/Transforms/NewGVN/pr33196.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -newgvn %s | FileCheck %s
+; RUN: opt -S -basic-aa -newgvn %s | FileCheck %s
; CHECK: define i32 @main() {
; CHECK-NEXT: entry:
More information about the llvm-commits
mailing list