[all-commits] [llvm/llvm-project] e620ea: [SelectionDAG][RISCV][SVE] Harden fixed offset ver...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Aug 21 10:36:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e620eac75e470f94928a17d215a3be947712028b
https://github.com/llvm/llvm-project/commit/e620eac75e470f94928a17d215a3be947712028b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-08-21 (Mon, 21 Aug 2023)
Changed paths:
M llvm/include/llvm/Support/TypeSize.h
M llvm/lib/CodeGen/Analysis.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list