xbolva00 added a comment.

>> I could try to change LowerSwitch to create branches which SimplifyCFG will 
>> be able to recognise and replace with a switch, or try to change SimplifyCFG 
>> to recognise this pattern of compares & branches.



2. option is better.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108138/new/

https://reviews.llvm.org/D108138

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to