[llvm] 89cb8ca - [Bitcode] Use bitcode input for test (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 4 07:41:48 PDT 2022
Author: Nikita Popov
Date: 2022-07-04T16:41:40+02:00
New Revision: 89cb8cae606b3dd1674fedc6bc0b02c7fe2636be
URL: https://github.com/llvm/llvm-project/commit/89cb8cae606b3dd1674fedc6bc0b02c7fe2636be
DIFF: https://github.com/llvm/llvm-project/commit/89cb8cae606b3dd1674fedc6bc0b02c7fe2636be.diff
LOG: [Bitcode] Use bitcode input for test (NFC)
The constant expression used in the test will become invalid in
the future. Convert the input into bitcode, so we test that auto-
upgrade happens gracefully once this is the case.
Added:
llvm/test/Bitcode/Inputs/bitcode-parseconstant-delay-select.bc
Modified:
llvm/test/Bitcode/bitcode-parseconstant-delay-select.ll
Removed:
################################################################################
diff --git a/llvm/test/Bitcode/Inputs/bitcode-parseconstant-delay-select.bc b/llvm/test/Bitcode/Inputs/bitcode-parseconstant-delay-select.bc
new file mode 100644
index 0000000000000..5a1dd72fdc2f7
Binary files /dev/null and b/llvm/test/Bitcode/Inputs/bitcode-parseconstant-delay-select.bc
diff er
diff --git a/llvm/test/Bitcode/bitcode-parseconstant-delay-select.ll b/llvm/test/Bitcode/bitcode-parseconstant-delay-select.ll
index 8845a271381e5..a35331417bb07 100644
--- a/llvm/test/Bitcode/bitcode-parseconstant-delay-select.ll
+++ b/llvm/test/Bitcode/bitcode-parseconstant-delay-select.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s -preserve-bc-uselistorder=false | llvm-dis -disable-output
+; RUN: llvm-dis -disable-output < %S/Inputs/bitcode-parseconstant-delay-select.bc
@a = external dso_local global i32, align 4
@c = external dso_local global [3 x i32], align 4
@b = external dso_local local_unnamed_addr global i32, align 4
More information about the llvm-commits
mailing list