This change:
- Disables MachineLateInstrsCleanup pass since it does not work with virtual registers
- Makes all LIT tests run with -O0
Paths
| Differential D140103
[SPIR-V] Disable MachineLateInstrsCleanup pass ClosedPublic Authored by mpaszkowski on Dec 15 2022, 6:33 AM.
Details Summary This change:
Diff Detail
Event TimelineComment Actions Sorry - I disabled this already for NVPTX and WebAssembly for the same reason but must have missed that SPIRV does not do regalloc when no SPIRV tests at all changed. Comment Actions
No problem! SPIR-V tests did not run since the backend is experimental and not built in default CMake configuration.
This revision is now accepted and ready to land.Dec 15 2022, 12:43 PM mpaszkowski marked an inline comment as done. Closed by commit rG3a26a650821d: [SPIR-V] Disable MachineLateInstrsCleanup pass (authored by mpaszkowski). · Explain WhyDec 19 2022, 10:27 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 484002 llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
llvm/test/CodeGen/SPIRV/instructions/atomic.ll
llvm/test/CodeGen/SPIRV/instructions/atomic_acqrel.ll
llvm/test/CodeGen/SPIRV/instructions/atomic_seq.ll
llvm/test/CodeGen/SPIRV/instructions/fcmp.ll
llvm/test/CodeGen/SPIRV/instructions/float-casts.ll
llvm/test/CodeGen/SPIRV/instructions/icmp.ll
llvm/test/CodeGen/SPIRV/instructions/integer-casts.ll
llvm/test/CodeGen/SPIRV/instructions/intrinsics.ll
llvm/test/CodeGen/SPIRV/instructions/ptrcmp.ll
llvm/test/CodeGen/SPIRV/instructions/vector-shuffle.ll
|
Please remove the extra whitespace in the empty line.