diff options
author | Philip Reames <preames@rivosinc.com> | 2025-04-08 07:20:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-08 07:20:25 -0700 |
commit | c1e95b2e5e61616eca20f6bc1bbd71470180e349 (patch) | |
tree | 6ffe08a437223b85d74969d62259f845b557397c /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 8b11c39a0fad7f6ec48c323a0deeb3c103005200 (diff) | |
download | llvm-c1e95b2e5e61616eca20f6bc1bbd71470180e349.zip llvm-c1e95b2e5e61616eca20f6bc1bbd71470180e349.tar.gz llvm-c1e95b2e5e61616eca20f6bc1bbd71470180e349.tar.bz2 |
[RISCV] Fix matching bug in VLA shuffle lowering (#134750)
Fix https://github.com/llvm/llvm-project/issues/134126.
The matching code was previous written as if we were mutating the
indices to replace undef elements with preferred values, but the actual
lowering code just took a prefix of the index vector. This resulted in
us using undef indices for lanes which should have been defined,
resulting in incorrect codegen.
Longer term, we probably should rewrite the mask, but this seemed like
an easier tactical fix.
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions