[test] Split some tests which test both static and pic relocation models
authorFangrui Song <i@maskray.me>
Sat, 5 Dec 2020 02:11:35 +0000 (18:11 -0800)
committerFangrui Song <i@maskray.me>
Sat, 5 Dec 2020 02:11:35 +0000 (18:11 -0800)
commit6dbd0eac02bf98a7585904ad69d0d9950947c9b4
treeaab97791bceddee0136df23c0428db6dd3f38897
parentab58e4cb5185cc2042f3e1c077c85430b83c28b5
[test] Split some tests which test both static and pic relocation models

TargetMachine::shouldAssumeDSOLocal currently implies dso_local for
Static. Split some tests so that these `external dso_local global` will
align with the Clang behavior.
llvm/test/CodeGen/AArch64/GlobalISel/legalize-global-pic.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/GlobalISel/legalize-global.mir
llvm/test/CodeGen/AArch64/GlobalISel/select-static.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/GlobalISel/select.mir
llvm/test/CodeGen/AArch64/GlobalISel/widen-narrow-tbz-tbnz.mir
llvm/test/CodeGen/AArch64/arm64-storebytesmerge.ll
llvm/test/CodeGen/AArch64/elf-globals-pic.ll [new file with mode: 0644]
llvm/test/CodeGen/AArch64/elf-globals-static.ll [moved from llvm/test/CodeGen/AArch64/arm64-elf-globals.ll with 61% similarity]
llvm/test/CodeGen/ARM/fast-isel.ll
llvm/test/CodeGen/WebAssembly/address-offsets.ll
llvm/test/CodeGen/WebAssembly/exception.ll