[llvm] Local: Handle noalias_addrspace in combineMetadata (PR #103938)
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 22:33:08 PDT 2024
================
@@ -60,7 +60,7 @@ class [[nodiscard]] ConstantRangeList {
bool empty() const { return Ranges.empty(); }
/// Get the bit width of this ConstantRangeList.
- uint32_t getBitWidth() const { return 64; }
+ uint32_t getBitWidth() const { return Ranges.front().getBitWidth(); }
----------------
frasercrmck wrote:
Does `insert` need to be updated so that it inserts 32-bit values, depending on the range? Is that possible right now - what if we want to insert into an empty range?
https://github.com/llvm/llvm-project/pull/103938
More information about the llvm-commits
mailing list