[llvm-branch-commits] [llvm] 85af1d6 - [test] Fix pr45360.ll under NPM

Arthur Eubanks via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 28 14:47:54 PST 2020


Author: Arthur Eubanks
Date: 2020-12-28T14:42:52-08:00
New Revision: 85af1d6257fac0741002f0144622f05c4ee1632c

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

LOG: [test] Fix pr45360.ll under NPM

The IR is the same under the NPM, but some basic block labels and value
names are different.

Added: 
    

Modified: 
    llvm/test/Transforms/IndVarSimplify/X86/pr45360.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/pr45360.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr45360.ll
index e86277adf936..d0857fa707b1 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/pr45360.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/pr45360.ll
@@ -1,5 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -O2 -scev-cheap-expansion-budget=1024 %s | FileCheck %s
+; TODO: Run under new PM after switch. The IR is the same but basic block labels are 
diff erent.
+; RUN: opt -S -O2 -scev-cheap-expansion-budget=1024 %s -enable-new-pm=0 | FileCheck %s
 
 ; See https://bugs.llvm.org/show_bug.cgi?id=45360
 ; This is reduced from that (runnable) test.


        


More information about the llvm-branch-commits mailing list