Fixed an issue in DataLayout::getIntPtrType where we were assuming
the input type was always a fixed vector type, which isn't true.
Added a test that exposed the problem to:
Transforms/InstCombine/vector_gep1.ll
Paths
| Differential D82294
[SVE] Fix scalable vector bug in DataLayout::getIntPtrType ClosedPublic Authored by david-arm on Jun 22 2020, 6:24 AM.
Details Summary Fixed an issue in DataLayout::getIntPtrType where we were assuming Added a test that exposed the problem to: Transforms/InstCombine/vector_gep1.ll
Diff Detail
Event Timeline
ctetreau added a child revision: D81500: [SVE] Remove calls to VectorType::getNumElements from IR.Jun 23 2020, 1:06 PM This revision is now accepted and ready to land.Jun 25 2020, 9:47 AM Closed by commit rG7a834a0a4ee3: [SVE] Fix scalable vector bug in DataLayout::getIntPtrType (authored by david-arm). · Explain WhyJun 25 2020, 11:59 PM This revision was automatically updated to reflect the committed changes. ctetreau removed a child revision: D81500: [SVE] Remove calls to VectorType::getNumElements from IR.Aug 26 2020, 12:54 PM
Revision Contents
Diff 273602 llvm/lib/IR/DataLayout.cpp
llvm/test/Transforms/InstCombine/vector_gep1.ll
|
Can you just use VectorType::get(IntTy, VecTy)?