diff options
author | Min-Yih Hsu <min.hsu@sifive.com> | 2025-06-14 10:21:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-14 10:21:08 -0700 |
commit | d6e25c4d21ebe20aaa6cbf6e2b9afde8f6713160 (patch) | |
tree | 1452598f44a9bd931e18ac2c9927c61abc846a7e /clang/lib/Parse/ParseDecl.cpp | |
parent | 577199f9221ebc805a69372a2b19f4c8ebaf1daf (diff) | |
download | llvm-d6e25c4d21ebe20aaa6cbf6e2b9afde8f6713160.zip llvm-d6e25c4d21ebe20aaa6cbf6e2b9afde8f6713160.tar.gz llvm-d6e25c4d21ebe20aaa6cbf6e2b9afde8f6713160.tar.bz2 |
[SelectionDAG] Take passthru into account when widening ISD::MLOAD (#144170)
#140595 used vp.load in the cases where we need to widen masked.load.
However, we didn't account for the passthru operand so it might
miscompile when the passthru is not undef. While we can simply avoid
using vp.load to widen when passthru is not undef, doing so will ran
into the exact same crash described in #140198 , so for scalable vector,
this patch manually merges the vp.load result with passthru when the
latter is not undef.
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions