From: Nikita Popov Date: Wed, 7 Sep 2022 10:28:26 +0000 (+0200) Subject: [Bitcode] Convert constexpr-to-instr.ll to use bitcode input (NFC) X-Git-Tag: upstream/17.0.6~34196 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c40651f690bab7471f4c998b4fb80bc50ac5814;p=platform%2Fupstream%2Fllvm.git [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...) --- diff --git a/llvm/test/Bitcode/constexpr-to-instr.ll b/llvm/test/Bitcode/constexpr-to-instr.ll index 7d6522f..07accaf 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 0000000..7fae9c0 Binary files /dev/null and b/llvm/test/Bitcode/constexpr-to-instr.ll.bc differ