From a12e023c8af35d5f9029d7484e180521e50f4a1f Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Wed, 30 Jul 2014 17:11:27 +0000 Subject: [PATCH] Rename llvm-uselistorder => verify-uselistorder llvm-svn: 214318 --- llvm/test/Bitcode/2006-12-11-Cast-ConstExpr.ll | 2 +- llvm/test/Bitcode/2009-06-11-FirstClassAggregateConstant.ll | 2 +- llvm/test/Bitcode/aggregateInstructions.3.2.ll | 2 +- llvm/test/Bitcode/arm32_neon_vcnt_upgrade.ll | 2 +- llvm/test/Bitcode/atomic.ll | 2 +- llvm/test/Bitcode/attributes-3.3.ll | 2 +- llvm/test/Bitcode/attributes.ll | 2 +- llvm/test/Bitcode/binaryFloatInstructions.3.2.ll | 2 +- llvm/test/Bitcode/binaryIntInstructions.3.2.ll | 2 +- llvm/test/Bitcode/bitwiseInstructions.3.2.ll | 2 +- llvm/test/Bitcode/calling-conventions.3.2.ll | 2 +- llvm/test/Bitcode/case-ranges-3.3.ll | 2 +- llvm/test/Bitcode/cmpxchg-upgrade.ll | 2 +- llvm/test/Bitcode/conversionInstructions.3.2.ll | 2 +- llvm/test/Bitcode/drop-debug-info.ll | 2 +- llvm/test/Bitcode/extractelement.ll | 2 +- llvm/test/Bitcode/flags.ll | 2 +- llvm/test/Bitcode/function-encoding-rel-operands.ll | 2 +- llvm/test/Bitcode/global-variables.3.2.ll | 2 +- llvm/test/Bitcode/inalloca.ll | 2 +- llvm/test/Bitcode/linkage-types-3.2.ll | 2 +- llvm/test/Bitcode/local-linkage-default-visibility.3.4.ll | 2 +- llvm/test/Bitcode/memInstructions.3.2.ll | 2 +- llvm/test/Bitcode/metadata.ll | 2 +- llvm/test/Bitcode/old-aliases.ll | 2 +- llvm/test/Bitcode/ptest-new.ll | 2 +- llvm/test/Bitcode/ptest-old.ll | 2 +- llvm/test/Bitcode/select.ll | 2 +- llvm/test/Bitcode/shuffle.ll | 2 +- llvm/test/Bitcode/tailcall.ll | 2 +- llvm/test/Bitcode/terminatorInstructions.3.2.ll | 2 +- llvm/test/Bitcode/upgrade-global-ctors.ll | 2 +- llvm/test/Bitcode/upgrade-loop-metadata.ll | 2 +- llvm/test/Bitcode/upgrade-tbaa.ll | 2 +- llvm/test/Bitcode/use-list-order.ll | 2 +- llvm/test/Bitcode/vectorInstructions.3.2.ll | 2 +- llvm/test/Bitcode/visibility-styles.3.2.ll | 2 +- llvm/test/Bitcode/weak-cmpxchg-upgrade.ll | 2 +- llvm/test/CMakeLists.txt | 2 +- llvm/test/lit.cfg | 2 +- llvm/tools/CMakeLists.txt | 2 +- llvm/tools/LLVMBuild.txt | 2 +- llvm/tools/Makefile | 2 +- .../{llvm-uselistorder => verify-uselistorder}/CMakeLists.txt | 4 ++-- .../{llvm-uselistorder => verify-uselistorder}/LLVMBuild.txt | 4 ++-- .../tools/{llvm-uselistorder => verify-uselistorder}/Makefile | 4 ++-- .../verify-uselistorder.cpp} | 2 +- 47 files changed, 50 insertions(+), 50 deletions(-) rename llvm/tools/{llvm-uselistorder => verify-uselistorder}/CMakeLists.txt (62%) rename llvm/tools/{llvm-uselistorder => verify-uselistorder}/LLVMBuild.txt (87%) rename llvm/tools/{llvm-uselistorder => verify-uselistorder}/Makefile (82%) rename llvm/tools/{llvm-uselistorder/llvm-uselistorder.cpp => verify-uselistorder/verify-uselistorder.cpp} (99%) diff --git a/llvm/test/Bitcode/2006-12-11-Cast-ConstExpr.ll b/llvm/test/Bitcode/2006-12-11-Cast-ConstExpr.ll index e1e2d7dc5447..461a92a84a1a 100644 --- a/llvm/test/Bitcode/2006-12-11-Cast-ConstExpr.ll +++ b/llvm/test/Bitcode/2006-12-11-Cast-ConstExpr.ll @@ -1,7 +1,7 @@ ; This test ensures that we get a bitcast constant expression in and out, ; not a sitofp constant expression. ; RUN: llvm-as < %s | llvm-dis | FileCheck %s -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 ; CHECK: bitcast ( @G = external global i32 diff --git a/llvm/test/Bitcode/2009-06-11-FirstClassAggregateConstant.ll b/llvm/test/Bitcode/2009-06-11-FirstClassAggregateConstant.ll index a321ce213113..16f7e9ab9ae5 100644 --- a/llvm/test/Bitcode/2009-06-11-FirstClassAggregateConstant.ll +++ b/llvm/test/Bitcode/2009-06-11-FirstClassAggregateConstant.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llvm-dis -disable-output -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 ; PR4373 @foo = weak global { i32 } zeroinitializer diff --git a/llvm/test/Bitcode/aggregateInstructions.3.2.ll b/llvm/test/Bitcode/aggregateInstructions.3.2.ll index 4d35be08bd12..2853823f1c9b 100644 --- a/llvm/test/Bitcode/aggregateInstructions.3.2.ll +++ b/llvm/test/Bitcode/aggregateInstructions.3.2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; aggregateOperations.3.2.ll.bc was generated by passing this file to llvm-as-3.2. ; The test checks that LLVM does not misread instructions with aggregate operands diff --git a/llvm/test/Bitcode/arm32_neon_vcnt_upgrade.ll b/llvm/test/Bitcode/arm32_neon_vcnt_upgrade.ll index fba518fe7f7f..c1eba948b6bd 100644 --- a/llvm/test/Bitcode/arm32_neon_vcnt_upgrade.ll +++ b/llvm/test/Bitcode/arm32_neon_vcnt_upgrade.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llvm-dis | FileCheck %s -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 ; Tests vclz and vcnt define <4 x i16> @vclz16(<4 x i16>* %A) nounwind { diff --git a/llvm/test/Bitcode/atomic.ll b/llvm/test/Bitcode/atomic.ll index 448219a59cb4..bccb868653cb 100644 --- a/llvm/test/Bitcode/atomic.ll +++ b/llvm/test/Bitcode/atomic.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as %s -o - | llvm-dis | FileCheck %s -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 define void @test_cmpxchg(i32* %addr, i32 %desired, i32 %new) { cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst diff --git a/llvm/test/Bitcode/attributes-3.3.ll b/llvm/test/Bitcode/attributes-3.3.ll index 7b44938a3e82..359d7ce38758 100644 --- a/llvm/test/Bitcode/attributes-3.3.ll +++ b/llvm/test/Bitcode/attributes-3.3.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; attributes-3.3.ll.bc was generated by passing this file to llvm-as-3.3. ; The test checks that LLVM does not silently misread attributes of diff --git a/llvm/test/Bitcode/attributes.ll b/llvm/test/Bitcode/attributes.ll index 0fe66f5ad82c..8286e396adf2 100644 --- a/llvm/test/Bitcode/attributes.ll +++ b/llvm/test/Bitcode/attributes.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llvm-dis | FileCheck %s -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 ; PR12696 define void @f1(i8 zeroext) diff --git a/llvm/test/Bitcode/binaryFloatInstructions.3.2.ll b/llvm/test/Bitcode/binaryFloatInstructions.3.2.ll index a0010e03834d..4df571094350 100644 --- a/llvm/test/Bitcode/binaryFloatInstructions.3.2.ll +++ b/llvm/test/Bitcode/binaryFloatInstructions.3.2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; BinaryFloatOperation.3.2.ll.bc was generated by passing this file to llvm-as-3.2. ; The test checks that LLVM does not misread binary float instructions from diff --git a/llvm/test/Bitcode/binaryIntInstructions.3.2.ll b/llvm/test/Bitcode/binaryIntInstructions.3.2.ll index bcf3d5882e05..4559b4f4526a 100644 --- a/llvm/test/Bitcode/binaryIntInstructions.3.2.ll +++ b/llvm/test/Bitcode/binaryIntInstructions.3.2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; BinaryIntOperation.3.2.ll.bc was generated by passing this file to llvm-as-3.2. ; The test checks that LLVM does not misread binary integer instructions from diff --git a/llvm/test/Bitcode/bitwiseInstructions.3.2.ll b/llvm/test/Bitcode/bitwiseInstructions.3.2.ll index 780f0447a52c..f6d46577d97e 100644 --- a/llvm/test/Bitcode/bitwiseInstructions.3.2.ll +++ b/llvm/test/Bitcode/bitwiseInstructions.3.2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; bitwiseOperations.3.2.ll.bc was generated by passing this file to llvm-as-3.2. ; The test checks that LLVM does not misread bitwise instructions from diff --git a/llvm/test/Bitcode/calling-conventions.3.2.ll b/llvm/test/Bitcode/calling-conventions.3.2.ll index 6a497dc8d5a8..e1f163494997 100644 --- a/llvm/test/Bitcode/calling-conventions.3.2.ll +++ b/llvm/test/Bitcode/calling-conventions.3.2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; calling-conventions.3.2.ll.bc was generated by passing this file to llvm-as-3.2. ; The test checks that LLVM does not silently misread calling conventions of diff --git a/llvm/test/Bitcode/case-ranges-3.3.ll b/llvm/test/Bitcode/case-ranges-3.3.ll index 1198f2bb2cb8..eaab6ec58237 100644 --- a/llvm/test/Bitcode/case-ranges-3.3.ll +++ b/llvm/test/Bitcode/case-ranges-3.3.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; case-ranges.ll.bc was generated by passing this file to llvm-as from the 3.3 ; release of LLVM. This tests that the bitcode for switches from that release diff --git a/llvm/test/Bitcode/cmpxchg-upgrade.ll b/llvm/test/Bitcode/cmpxchg-upgrade.ll index 94f0eef455e6..2a69ec5db5b9 100644 --- a/llvm/test/Bitcode/cmpxchg-upgrade.ll +++ b/llvm/test/Bitcode/cmpxchg-upgrade.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc | FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; cmpxchg-upgrade.ll.bc was produced by running a version of llvm-as from just ; before the IR change on this file. diff --git a/llvm/test/Bitcode/conversionInstructions.3.2.ll b/llvm/test/Bitcode/conversionInstructions.3.2.ll index 9f8204821d4d..550d44349e75 100644 --- a/llvm/test/Bitcode/conversionInstructions.3.2.ll +++ b/llvm/test/Bitcode/conversionInstructions.3.2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; conversionOperations.3.2.ll.bc was generated by passing this file to llvm-as-3.2. ; The test checks that LLVM does not misread conversion instructions from diff --git a/llvm/test/Bitcode/drop-debug-info.ll b/llvm/test/Bitcode/drop-debug-info.ll index b3073e0d6c8b..ee860115a830 100644 --- a/llvm/test/Bitcode/drop-debug-info.ll +++ b/llvm/test/Bitcode/drop-debug-info.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as < %s -o %t.bc 2>&1 >/dev/null | FileCheck -check-prefix=WARN %s ; RUN: llvm-dis < %t.bc | FileCheck %s -; RUN: llvm-uselistorder < %t.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %t.bc -preserve-bc-use-list-order -num-shuffles=5 define i32 @main() { entry: diff --git a/llvm/test/Bitcode/extractelement.ll b/llvm/test/Bitcode/extractelement.ll index 29f5b029200c..ba806a4e3f25 100644 --- a/llvm/test/Bitcode/extractelement.ll +++ b/llvm/test/Bitcode/extractelement.ll @@ -1,5 +1,5 @@ ; RUN: opt < %s -constprop | llvm-dis -disable-output -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 ; PR3465 define double @test() { diff --git a/llvm/test/Bitcode/flags.ll b/llvm/test/Bitcode/flags.ll index 3760a44bd6fd..a996a8a8f8df 100644 --- a/llvm/test/Bitcode/flags.ll +++ b/llvm/test/Bitcode/flags.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as < %s | llvm-dis > %t0 ; RUN: opt -S < %s > %t1 ; RUN: diff %t0 %t1 -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 ; PR6140 ; Make sure the flags are serialized/deserialized properly for both diff --git a/llvm/test/Bitcode/function-encoding-rel-operands.ll b/llvm/test/Bitcode/function-encoding-rel-operands.ll index cc2f6aef5e5b..14aa01fc1d94 100644 --- a/llvm/test/Bitcode/function-encoding-rel-operands.ll +++ b/llvm/test/Bitcode/function-encoding-rel-operands.ll @@ -1,7 +1,7 @@ ; Basic sanity test to check that instruction operands are encoded with ; relative IDs. ; RUN: llvm-as < %s | llvm-bcanalyzer -dump | FileCheck %s -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 ; CHECK: FUNCTION_BLOCK ; CHECK: INST_BINOP {{.*}}op0=1 op1=1 diff --git a/llvm/test/Bitcode/global-variables.3.2.ll b/llvm/test/Bitcode/global-variables.3.2.ll index 4a856f199e58..cbba464a2983 100644 --- a/llvm/test/Bitcode/global-variables.3.2.ll +++ b/llvm/test/Bitcode/global-variables.3.2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; global-variables.3.2.ll.bc was generated by passing this file to llvm-as-3.2. ; The test checks that LLVM does not silently misread global variables attributes of diff --git a/llvm/test/Bitcode/inalloca.ll b/llvm/test/Bitcode/inalloca.ll index 445b4a282bff..386a476b4551 100644 --- a/llvm/test/Bitcode/inalloca.ll +++ b/llvm/test/Bitcode/inalloca.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llvm-dis | FileCheck %s -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 ; inalloca should roundtrip. diff --git a/llvm/test/Bitcode/linkage-types-3.2.ll b/llvm/test/Bitcode/linkage-types-3.2.ll index 01b195f6c51a..06e81b949f17 100644 --- a/llvm/test/Bitcode/linkage-types-3.2.ll +++ b/llvm/test/Bitcode/linkage-types-3.2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; linkage-types-3.2.ll.bc was generated by passing this file to llvm-as-3.2 ; The test checks that LLVM does not silently misread linkage types of diff --git a/llvm/test/Bitcode/local-linkage-default-visibility.3.4.ll b/llvm/test/Bitcode/local-linkage-default-visibility.3.4.ll index c1a9fbefe69a..f72fd1578e83 100644 --- a/llvm/test/Bitcode/local-linkage-default-visibility.3.4.ll +++ b/llvm/test/Bitcode/local-linkage-default-visibility.3.4.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc | FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; local-linkage-default-visibility.3.4.ll.bc was generated by passing this file ; to llvm-as-3.4. The test checks that LLVM upgrades visibility of symbols diff --git a/llvm/test/Bitcode/memInstructions.3.2.ll b/llvm/test/Bitcode/memInstructions.3.2.ll index a8073225a69c..67d24f41a107 100644 --- a/llvm/test/Bitcode/memInstructions.3.2.ll +++ b/llvm/test/Bitcode/memInstructions.3.2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; memOperations.3.2.ll.bc was generated by passing this file to llvm-as-3.2. ; The test checks that LLVM does not misread memory related instructions of diff --git a/llvm/test/Bitcode/metadata.ll b/llvm/test/Bitcode/metadata.ll index a3550bcaceca..1ceb606dd18b 100644 --- a/llvm/test/Bitcode/metadata.ll +++ b/llvm/test/Bitcode/metadata.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llvm-dis -disable-output -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 !llvm.foo = !{!0} !0 = metadata !{i32 42} diff --git a/llvm/test/Bitcode/old-aliases.ll b/llvm/test/Bitcode/old-aliases.ll index 13b6d3efa233..b32bc1b18cd1 100644 --- a/llvm/test/Bitcode/old-aliases.ll +++ b/llvm/test/Bitcode/old-aliases.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc | FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; old-aliases.bc consist of this file assembled with an old llvm-as (3.5 trunk) ; from when aliases contained a ConstantExpr. diff --git a/llvm/test/Bitcode/ptest-new.ll b/llvm/test/Bitcode/ptest-new.ll index c0ded8b622c0..ff2848141896 100644 --- a/llvm/test/Bitcode/ptest-new.ll +++ b/llvm/test/Bitcode/ptest-new.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llvm-dis | FileCheck %s -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 define i32 @foo(<2 x i64> %bar) nounwind { entry: diff --git a/llvm/test/Bitcode/ptest-old.ll b/llvm/test/Bitcode/ptest-old.ll index c6c160539c21..5f252aabf737 100644 --- a/llvm/test/Bitcode/ptest-old.ll +++ b/llvm/test/Bitcode/ptest-old.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llvm-dis | FileCheck %s -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 define i32 @foo(<4 x float> %bar) nounwind { entry: diff --git a/llvm/test/Bitcode/select.ll b/llvm/test/Bitcode/select.ll index 3da538578706..a33926c28295 100644 --- a/llvm/test/Bitcode/select.ll +++ b/llvm/test/Bitcode/select.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llvm-dis | FileCheck %s -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 define <2 x i32> @main() { ret <2 x i32> select (<2 x i1> , <2 x i32> zeroinitializer, <2 x i32> ) diff --git a/llvm/test/Bitcode/shuffle.ll b/llvm/test/Bitcode/shuffle.ll index 65bde6765c26..5b0e9e70e440 100644 --- a/llvm/test/Bitcode/shuffle.ll +++ b/llvm/test/Bitcode/shuffle.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llvm-dis -disable-output -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 ; ; tests the bitcodereader can handle the case where the reader will initially diff --git a/llvm/test/Bitcode/tailcall.ll b/llvm/test/Bitcode/tailcall.ll index ea47df62011a..5eed7a395742 100644 --- a/llvm/test/Bitcode/tailcall.ll +++ b/llvm/test/Bitcode/tailcall.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llvm-dis | FileCheck %s -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 ; Check that musttail and tail roundtrip. diff --git a/llvm/test/Bitcode/terminatorInstructions.3.2.ll b/llvm/test/Bitcode/terminatorInstructions.3.2.ll index d9e51a5996e8..a2285a13871a 100644 --- a/llvm/test/Bitcode/terminatorInstructions.3.2.ll +++ b/llvm/test/Bitcode/terminatorInstructions.3.2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; TerminatorOperations.3.2.ll.bc was generated by passing this file to llvm-as-3.2. ; The test checks that LLVM does not misread terminator instructions from diff --git a/llvm/test/Bitcode/upgrade-global-ctors.ll b/llvm/test/Bitcode/upgrade-global-ctors.ll index f75b28b7db1e..b01c7520c95a 100644 --- a/llvm/test/Bitcode/upgrade-global-ctors.ll +++ b/llvm/test/Bitcode/upgrade-global-ctors.ll @@ -1,4 +1,4 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; CHECK: @llvm.global_ctors = appending global [0 x { i32, void ()*, i8* }] zeroinitializer diff --git a/llvm/test/Bitcode/upgrade-loop-metadata.ll b/llvm/test/Bitcode/upgrade-loop-metadata.ll index 5c18bd930cc2..3c1db98273a3 100644 --- a/llvm/test/Bitcode/upgrade-loop-metadata.ll +++ b/llvm/test/Bitcode/upgrade-loop-metadata.ll @@ -1,7 +1,7 @@ ; Test to make sure loop vectorizer metadata is automatically upgraded. ; ; RUN: llvm-dis < %s.bc | FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 define void @_Z28loop_with_vectorize_metadatav() { entry: diff --git a/llvm/test/Bitcode/upgrade-tbaa.ll b/llvm/test/Bitcode/upgrade-tbaa.ll index 0d88fa6ce3a7..8dd3b695a67f 100644 --- a/llvm/test/Bitcode/upgrade-tbaa.ll +++ b/llvm/test/Bitcode/upgrade-tbaa.ll @@ -1,5 +1,5 @@ ; RUN: llvm-as < %s | llvm-dis | FileCheck %s -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 ; Function Attrs: nounwind define void @_Z4testPiPf(i32* nocapture %pI, float* nocapture %pF) #0 { diff --git a/llvm/test/Bitcode/use-list-order.ll b/llvm/test/Bitcode/use-list-order.ll index 33cc13edb05a..bb71a8586b73 100644 --- a/llvm/test/Bitcode/use-list-order.ll +++ b/llvm/test/Bitcode/use-list-order.ll @@ -1,4 +1,4 @@ -; RUN: llvm-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s -preserve-bc-use-list-order -num-shuffles=5 @a = global [4 x i1] [i1 0, i1 1, i1 0, i1 1] @b = alias i1* getelementptr ([4 x i1]* @a, i64 0, i64 2) diff --git a/llvm/test/Bitcode/vectorInstructions.3.2.ll b/llvm/test/Bitcode/vectorInstructions.3.2.ll index 5b983ac0f02e..4daae4187226 100644 --- a/llvm/test/Bitcode/vectorInstructions.3.2.ll +++ b/llvm/test/Bitcode/vectorInstructions.3.2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; vectorOperations.3.2.ll.bc was generated by passing this file to llvm-as-3.2. ; The test checks that LLVM does not misread vector operations of diff --git a/llvm/test/Bitcode/visibility-styles.3.2.ll b/llvm/test/Bitcode/visibility-styles.3.2.ll index cccc9509e67a..aecbc6562cd7 100644 --- a/llvm/test/Bitcode/visibility-styles.3.2.ll +++ b/llvm/test/Bitcode/visibility-styles.3.2.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc| FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; visibility-styles.3.2.ll.bc was generated by passing this file to llvm-as-3.2. ; The test checks that LLVM does not silently misread visibility styles of diff --git a/llvm/test/Bitcode/weak-cmpxchg-upgrade.ll b/llvm/test/Bitcode/weak-cmpxchg-upgrade.ll index fd543c4a9685..a09efc70992d 100644 --- a/llvm/test/Bitcode/weak-cmpxchg-upgrade.ll +++ b/llvm/test/Bitcode/weak-cmpxchg-upgrade.ll @@ -1,5 +1,5 @@ ; RUN: llvm-dis < %s.bc | FileCheck %s -; RUN: llvm-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 +; RUN: verify-uselistorder < %s.bc -preserve-bc-use-list-order -num-shuffles=5 ; cmpxchg-upgrade.ll.bc was produced by running a version of llvm-as from just ; before the IR change on this file. diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt index 59a17b195068..2b3a618a3aed 100644 --- a/llvm/test/CMakeLists.txt +++ b/llvm/test/CMakeLists.txt @@ -44,7 +44,6 @@ set(LLVM_TEST_DEPENDS llvm-rtdyld llvm-symbolizer llvm-tblgen - llvm-uselistorder llvm-vtabledump macho-dump opt @@ -53,6 +52,7 @@ set(LLVM_TEST_DEPENDS not yaml2obj obj2yaml + verify-uselistorder ) # If Intel JIT events are supported, depend on a tool that tests the listener. diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index 6f2632cba5dd..b5a982c02d5b 100644 --- a/llvm/test/lit.cfg +++ b/llvm/test/lit.cfg @@ -228,7 +228,6 @@ for pattern in [r"\bbugpoint\b(?!-)", r"\bllvm-rtdyld\b", r"\bllvm-size\b", r"\bllvm-tblgen\b", - r"\bllvm-uselistorder\b", r"\bllvm-vtabledump\b", r"\bllvm-c-test\b", r"\bmacho-dump\b", @@ -236,6 +235,7 @@ for pattern in [r"\bbugpoint\b(?!-)", r"\bFileCheck\b", r"\bobj2yaml\b", r"\byaml2obj\b", + r"\bverify-uselistorder\b", # Handle these specially as they are strings searched # for during testing. r"\| \bcount\b", diff --git a/llvm/tools/CMakeLists.txt b/llvm/tools/CMakeLists.txt index ef8095b688e1..940f656b5980 100644 --- a/llvm/tools/CMakeLists.txt +++ b/llvm/tools/CMakeLists.txt @@ -43,7 +43,7 @@ add_llvm_tool_subdirectory(llvm-bcanalyzer) add_llvm_tool_subdirectory(llvm-stress) add_llvm_tool_subdirectory(llvm-mcmarkup) -add_llvm_tool_subdirectory(llvm-uselistorder) +add_llvm_tool_subdirectory(verify-uselistorder) add_llvm_tool_subdirectory(llvm-symbolizer) diff --git a/llvm/tools/LLVMBuild.txt b/llvm/tools/LLVMBuild.txt index 92c7d2b40946..13a08b2d4499 100644 --- a/llvm/tools/LLVMBuild.txt +++ b/llvm/tools/LLVMBuild.txt @@ -16,7 +16,7 @@ ;===------------------------------------------------------------------------===; [common] -subdirectories = bugpoint llc lli llvm-ar llvm-as llvm-bcanalyzer llvm-cov llvm-diff llvm-dis llvm-dwarfdump llvm-extract llvm-jitlistener llvm-link llvm-lto llvm-mc llvm-nm llvm-objdump llvm-profdata llvm-rtdyld llvm-size macho-dump opt llvm-mcmarkup llvm-uselistorder +subdirectories = bugpoint llc lli llvm-ar llvm-as llvm-bcanalyzer llvm-cov llvm-diff llvm-dis llvm-dwarfdump llvm-extract llvm-jitlistener llvm-link llvm-lto llvm-mc llvm-nm llvm-objdump llvm-profdata llvm-rtdyld llvm-size macho-dump opt llvm-mcmarkup verify-uselistorder [component_0] type = Group diff --git a/llvm/tools/Makefile b/llvm/tools/Makefile index ed7773d61fad..9ba4608ecade 100644 --- a/llvm/tools/Makefile +++ b/llvm/tools/Makefile @@ -32,7 +32,7 @@ PARALLEL_DIRS := opt llvm-as llvm-dis llc llvm-ar llvm-nm llvm-link \ macho-dump llvm-objdump llvm-readobj llvm-rtdyld \ llvm-dwarfdump llvm-cov llvm-size llvm-stress llvm-mcmarkup \ llvm-profdata llvm-symbolizer obj2yaml yaml2obj llvm-c-test \ - llvm-vtabledump llvm-uselistorder + llvm-vtabledump verify-uselistorder # If Intel JIT Events support is configured, build an extra tool to test it. ifeq ($(USE_INTEL_JITEVENTS), 1) diff --git a/llvm/tools/llvm-uselistorder/CMakeLists.txt b/llvm/tools/verify-uselistorder/CMakeLists.txt similarity index 62% rename from llvm/tools/llvm-uselistorder/CMakeLists.txt rename to llvm/tools/verify-uselistorder/CMakeLists.txt index c08f8c37c469..260a95adb6a6 100644 --- a/llvm/tools/llvm-uselistorder/CMakeLists.txt +++ b/llvm/tools/verify-uselistorder/CMakeLists.txt @@ -7,6 +7,6 @@ set(LLVM_LINK_COMPONENTS Support ) -add_llvm_tool(llvm-uselistorder - llvm-uselistorder.cpp +add_llvm_tool(verify-uselistorder + verify-uselistorder.cpp ) diff --git a/llvm/tools/llvm-uselistorder/LLVMBuild.txt b/llvm/tools/verify-uselistorder/LLVMBuild.txt similarity index 87% rename from llvm/tools/llvm-uselistorder/LLVMBuild.txt rename to llvm/tools/verify-uselistorder/LLVMBuild.txt index b9d6f10b89e7..23957c189c8a 100644 --- a/llvm/tools/llvm-uselistorder/LLVMBuild.txt +++ b/llvm/tools/verify-uselistorder/LLVMBuild.txt @@ -1,4 +1,4 @@ -;===- ./tools/llvm-uselistorder/LLVMBuild.txt ------------------*- Conf -*--===; +;===- ./tools/verify-uselistorder/LLVMBuild.txt ----------------*- Conf -*--===; ; ; The LLVM Compiler Infrastructure ; @@ -17,6 +17,6 @@ [component_0] type = Tool -name = llvm-uselistorder +name = verify-uselistorder parent = Tools required_libraries = IRReader BitWriter Support diff --git a/llvm/tools/llvm-uselistorder/Makefile b/llvm/tools/verify-uselistorder/Makefile similarity index 82% rename from llvm/tools/llvm-uselistorder/Makefile rename to llvm/tools/verify-uselistorder/Makefile index 5a3727e52d21..90d2aa89128b 100644 --- a/llvm/tools/llvm-uselistorder/Makefile +++ b/llvm/tools/verify-uselistorder/Makefile @@ -1,4 +1,4 @@ -##===- tools/llvm-uselistorder/Makefile --------------------*- Makefile -*-===## +##===- tools/verify-uselistorder/Makefile ------------------*- Makefile -*-===## # # The LLVM Compiler Infrastructure # @@ -8,7 +8,7 @@ ##===----------------------------------------------------------------------===## LEVEL := ../.. -TOOLNAME := llvm-uselistorder +TOOLNAME := verify-uselistorder LINK_COMPONENTS := AsmParser BitReader BitWriter Core IRReader Support # This tool has no plugins, optimize startup time. diff --git a/llvm/tools/llvm-uselistorder/llvm-uselistorder.cpp b/llvm/tools/verify-uselistorder/verify-uselistorder.cpp similarity index 99% rename from llvm/tools/llvm-uselistorder/llvm-uselistorder.cpp rename to llvm/tools/verify-uselistorder/verify-uselistorder.cpp index 0f817d2bf38b..37d7f5f52a51 100644 --- a/llvm/tools/llvm-uselistorder/llvm-uselistorder.cpp +++ b/llvm/tools/verify-uselistorder/verify-uselistorder.cpp @@ -1,4 +1,4 @@ -//===- llvm-uselistorder.cpp - The LLVM Modular Optimizer -----------------===// +//===- verify-uselistorder.cpp - The LLVM Modular Optimizer ---------------===// // // The LLVM Compiler Infrastructure //