summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-11-13 17:23:54 -0800
committerCraig Topper <craig.topper@sifive.com>2022-11-13 17:30:39 -0800
commit03f9009cbf2a94c65692c209f091b1d63b37c991 (patch)
tree06f941295d0706ba1aec7b397cce0e47ec94c155 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentfe0d4ba37312cdd334790a3947cc31a7fbea974a (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