[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:04:17 PDT 2023


mpaszkowski updated this revision to Diff 509733.
mpaszkowski added a comment.

Updated the commit with a fix to the failing OpenCL CTS test <https://spirv-testing.khronos.org/cts_result/83906/> and added one new LIT test.


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.509733.patch
Type: text/x-patch
Size: 9623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230330/e5381667/attachment.bin>


More information about the llvm-commits mailing list