diff options
| author | Craig Topper <craig.topper@sifive.com> | 2022-11-13 17:23:54 -0800 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2022-11-13 17:30:39 -0800 |
| commit | 03f9009cbf2a94c65692c209f091b1d63b37c991 (patch) | |
| tree | 06f941295d0706ba1aec7b397cce0e47ec94c155 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | fe0d4ba37312cdd334790a3947cc31a7fbea974a (diff) | |
[RISCV] Fix incorrect early out from isSignExtendedW in RISCVSExtWRemoval.
We can only return false to abort. If the criteria is met we need
to use continue instead. Returning true stops us from visiting all
nodes and makes the caller think it is safe to remove sext.w.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
