[llvm] [VPlanUtils] Use TypeSwitch to simplify isSingleScalar(). nfc (PR #141074)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri May 23 03:36:00 PDT 2025


https://github.com/nikic commented:

IMHO this is a regression in code readability, not an improvement.

We generally do not use TypeSwitch in llvm/, it looks like it leaked into VPlan (and VPlan only).

https://github.com/llvm/llvm-project/pull/141074


More information about the llvm-commits mailing list