[llvm] [SelectionDAG] Use promoted types when creating nodes after type legalization (PR #178617)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 1 19:14:12 PST 2026
zhaoqi5 wrote:
> LGTM as a crash fix, but I think we should move this to a new `getBuildVector(VT, DL, ArrayRef<APInt> Ops)` helper to handle implicit promotion for us - I noticed there's a lot of similar code that would benefit.
Thanks for your quick reply. I will merge this commit firstly as a fix and add the helper as you recommend in a later commit.
https://github.com/llvm/llvm-project/pull/178617
More information about the llvm-commits
mailing list