[LTO] Avoid -opaque-pointers=0 in test (NFC)

Commit the bitcode file instead of generating it dynamically, as
this will no longer be possible in the future.
This commit is contained in:
Nikita Popov 2023-06-20 16:56:09 +02:00
parent 2da049a141
commit 135aaff2b5
2 changed files with 3 additions and 4 deletions

Binary file not shown.

View File

@ -1,7 +1,6 @@
; RUN: llvm-as -opaque-pointers=0 %s -o %t-typed.bc
; RUN: llvm-as -opaque-pointers=1 %S/Inputs/opaque-pointers.ll -o %t-opaque.bc
; RUN: llvm-lto2 run -o %t-lto.bc %t-typed.bc %t-opaque.bc -save-temps \
; RUN: -r %t-typed.bc,call_foo,px -r %t-typed.bc,foo,l \
; RUN: llvm-as %S/Inputs/opaque-pointers.ll -o %t-opaque.bc
; RUN: llvm-lto2 run -o %t-lto.bc %S/Inputs/typed.bc %t-opaque.bc -save-temps \
; RUN: -r %S/Inputs/typed.bc,call_foo,px -r %S/Inputs/typed.bc,foo,l \
; RUN: -r %t-opaque.bc,foo,px
; RUN: opt -S -o - %t-lto.bc.0.4.opt.bc | FileCheck %s