[PATCH] D146923: [SPIR-V] Remove switch G_ICMP+G_BRCOND+G_BR before ISel
Michal Paszkowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 30 11:19:53 PDT 2023
mpaszkowski updated this revision to Diff 509740.
mpaszkowski added a comment.
Added `assert(!MBB.empty() && "MBB is empty!")`. This should make it easier to spot similar issues in the future.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146923/new/
https://reviews.llvm.org/D146923
Files:
llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp
llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.h
llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
llvm/test/CodeGen/SPIRV/branching/OpSwitch32.ll
llvm/test/CodeGen/SPIRV/branching/OpSwitch64.ll
llvm/test/CodeGen/SPIRV/branching/OpSwitchBranches.ll
llvm/test/CodeGen/SPIRV/branching/OpSwitchChar.ll
llvm/test/CodeGen/SPIRV/branching/OpSwitchEmpty.ll
llvm/test/CodeGen/SPIRV/branching/OpSwitchUnreachable.ll
llvm/test/CodeGen/SPIRV/branching/Two_OpSwitch_same_register.ll
llvm/test/CodeGen/SPIRV/transcoding/OpSwitch32.ll
llvm/test/CodeGen/SPIRV/transcoding/OpSwitch64.ll
llvm/test/CodeGen/SPIRV/transcoding/OpSwitchChar.ll
llvm/test/CodeGen/SPIRV/transcoding/OpSwitchEmpty.ll
llvm/test/CodeGen/SPIRV/transcoding/OpSwitchUnreachable.ll
llvm/test/CodeGen/SPIRV/transcoding/Two_OpSwitch_same_register.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146923.509740.patch
Type: text/x-patch
Size: 9946 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230330/e7932393/attachment.bin>
More information about the llvm-commits
mailing list