[llvm] [ConstantFolding] Fold array to vector in ConstantFoldLoadThroughBitcast (PR #192775)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 19 04:45:30 PDT 2026
dtcxzyw wrote:
> This looks like it will incorrectly handle vectors of non-byte-size type as well as vectors of over-aligned elements. At the least these need to be tested.
These cases are guarded by the check `SrcSize == DestSize` above.
https://github.com/llvm/llvm-project/pull/192775
More information about the llvm-commits
mailing list