Avoid transforming:
%0 = bitcast i8* %base to <vscale x 16 x i8>*
%1 = getelementptr <vscale x 16 x i8>, <vscale x 16 x i8>* %0, i64 1
into:
%0 = getelementptr i8, i8* %base, i64 16
%1 = bitcast i8* %0 to <vscale x 16 x i8>*
Paths
| Differential D76236
[InstCombine] GEPOperator::accumulateConstantOffset does not support scalable vectors ClosedPublic Authored by sdesmalen on Mar 16 2020, 10:24 AM.
Details Summary Avoid transforming: %0 = bitcast i8* %base to <vscale x 16 x i8>* into: %0 = getelementptr i8, i8* %base, i64 16
Diff Detail
Event Timelinesdesmalen added a child revision: D76238: [SveEmitter] Implement builtins for contiguous loads/stores.Mar 16 2020, 10:35 AM This revision is now accepted and ready to land.Mar 16 2020, 12:06 PM Closed by commit rGef64ba831194: [InstCombine] GEPOperator::accumulateConstantOffset does not support scalable… (authored by sdesmalen). · Explain WhyMar 18 2020, 8:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 251088 llvm/lib/IR/Operator.cpp
llvm/test/Transforms/InstCombine/gep-vector.ll
|