[llvm] 0c40651 - [Bitcode] Convert constexpr-to-instr.ll to use bitcode input (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 7 03:29:43 PDT 2022
Author: Nikita Popov
Date: 2022-09-07T12:29:32+02:00
New Revision: 0c40651f690bab7471f4c998b4fb80bc50ac5814
URL: https://github.com/llvm/llvm-project/commit/0c40651f690bab7471f4c998b4fb80bc50ac5814
DIFF: https://github.com/llvm/llvm-project/commit/0c40651f690bab7471f4c998b4fb80bc50ac5814.diff
LOG: [Bitcode] Convert constexpr-to-instr.ll to use bitcode input (NFC)
We can't use an IR input once the relevant constant expressions
are no longer supported. Use a bitcode file instead, which will
be auto-upgraded (the whole point of this code...)
Added:
llvm/test/Bitcode/constexpr-to-instr.ll.bc
Modified:
llvm/test/Bitcode/constexpr-to-instr.ll
Removed:
################################################################################
diff --git a/llvm/test/Bitcode/constexpr-to-instr.ll b/llvm/test/Bitcode/constexpr-to-instr.ll
index 7d6522ff3c96f..07accafb83826 100644
--- a/llvm/test/Bitcode/constexpr-to-instr.ll
+++ b/llvm/test/Bitcode/constexpr-to-instr.ll
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llvm-dis -expand-constant-exprs | FileCheck %s
+; RUN: llvm-dis -expand-constant-exprs < %s.bc | FileCheck %s
@g = extern_weak global i32
@g2 = extern_weak global i32
diff --git a/llvm/test/Bitcode/constexpr-to-instr.ll.bc b/llvm/test/Bitcode/constexpr-to-instr.ll.bc
new file mode 100644
index 0000000000000..7fae9c05fbd75
Binary files /dev/null and b/llvm/test/Bitcode/constexpr-to-instr.ll.bc
diff er
More information about the llvm-commits
mailing list