diff options
author | Craig Topper <craig.topper@sifive.com> | 2023-08-21 10:36:17 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2023-08-21 10:36:17 -0700 |
commit | e620eac75e470f94928a17d215a3be947712028b (patch) | |
tree | dfccbff88f6693e382363dde4092519bc25afbc9 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | e223e4567722661f1b32aa052cd13d9f47b896d9 (diff) | |
download | llvm-e620eac75e470f94928a17d215a3be947712028b.zip llvm-e620eac75e470f94928a17d215a3be947712028b.tar.gz llvm-e620eac75e470f94928a17d215a3be947712028b.tar.bz2 |
[SelectionDAG][RISCV][SVE] Harden fixed offset version of ComputeValueVTs against scalable offsets.
Use getFixedValue instead of getKnownMinValue to convert TypeSize
to uint64_t. I believe this would have caught the bug fixed by
D157872.
To prevent false failures, I had to treat a scalable 0 as if it
is fixed value.
Reviewed By: paulwalker-arm
Differential Revision: https://reviews.llvm.org/D158115
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions