You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
boolGEPOperator::accumulateConstantOffset(
const DataLayout &DL, APInt &Offset,
function_ref<bool(Value &, APInt &)> ExternalAnalysis) const {
assert(Offset.getBitWidth() ==
DL.getIndexSizeInBits(getPointerAddressSpace()) &&
"The offset bit width does not match DL specification.");
... I guess we can't just set the pointer index size to 32 bits without breaking 64 bits offsets (which may be emitted by Julia, and which we still want to support). Maybe the alternative is an optimization pass that tries to demote GEP indices to 32 bits, if possible. In any case, let's revert the DL change.
After #444, running the CUDA.jl test suite with LLVM assertions throws:
MWE:
This is the post-opt IR, which fails during function merging:
Or, reduced:
I guess this DL modification was illegal? I still need to take a closer look.
The text was updated successfully, but these errors were encountered: