projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2adab06
)
[NFC] Port all GlobalDCE tests to `-passes=` syntax
author
Roman Lebedev
<lebedev.ri@gmail.com>
Wed, 7 Dec 2022 23:27:21 +0000
(
02:27
+0300)
committer
Roman Lebedev
<lebedev.ri@gmail.com>
Wed, 7 Dec 2022 23:38:44 +0000
(
02:38
+0300)
llvm/test/Transforms/GlobalDCE/deadblockaddr.ll
patch
|
blob
|
history
llvm/test/Transforms/GlobalDCE/virtual-functions-nonptr.ll
patch
|
blob
|
history
llvm/test/Transforms/GlobalDCE/virtual-functions-null.ll
patch
|
blob
|
history
diff --git
a/llvm/test/Transforms/GlobalDCE/deadblockaddr.ll
b/llvm/test/Transforms/GlobalDCE/deadblockaddr.ll
index
4b3cec0
..
6cf50ac
100644
(file)
--- a/
llvm/test/Transforms/GlobalDCE/deadblockaddr.ll
+++ b/
llvm/test/Transforms/GlobalDCE/deadblockaddr.ll
@@
-1,4
+1,4
@@
-; RUN: opt -
globaldce -
simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S < %s | FileCheck %s
+; RUN: opt -
passes=globaldce,
simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S < %s | FileCheck %s
; Tests whether globaldce does the right cleanup while removing @bar
; so that a dead BlockAddress reference to foo won't prevent other passes
diff --git
a/llvm/test/Transforms/GlobalDCE/virtual-functions-nonptr.ll
b/llvm/test/Transforms/GlobalDCE/virtual-functions-nonptr.ll
index
29fd130
..
ad8b271
100644
(file)
--- a/
llvm/test/Transforms/GlobalDCE/virtual-functions-nonptr.ll
+++ b/
llvm/test/Transforms/GlobalDCE/virtual-functions-nonptr.ll
@@
-1,4
+1,4
@@
-; RUN: opt < %s -globaldce -S | FileCheck %s
+; RUN: opt < %s -
passes=
globaldce -S | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
diff --git
a/llvm/test/Transforms/GlobalDCE/virtual-functions-null.ll
b/llvm/test/Transforms/GlobalDCE/virtual-functions-null.ll
index
8dc4512
..
212138b
100644
(file)
--- a/
llvm/test/Transforms/GlobalDCE/virtual-functions-null.ll
+++ b/
llvm/test/Transforms/GlobalDCE/virtual-functions-null.ll
@@
-1,4
+1,4
@@
-; RUN: opt < %s -globaldce -S | FileCheck %s
+; RUN: opt < %s -
passes=
globaldce -S | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"