[all-commits] [llvm/llvm-project] afae6d: [SelectionDAG] Fix lowering of vector geps

Jon Roelofs via All-commits all-commits at lists.llvm.org
Thu Jul 30 13:57:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: afae6d97fa55984003321245ec6ceb5af9cc5856
      https://github.com/llvm/llvm-project/commit/afae6d97fa55984003321245ec6ceb5af9cc5856
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2020-07-30 (Thu, 30 Jul 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    A llvm/test/CodeGen/AArch64/vector-gep.ll

  Log Message:
  -----------
  [SelectionDAG] Fix lowering of vector geps

This fixes an assertion failure that was being triggered in
SelectionDAG::getZeroExtendInReg(), where it was trying to extend the <2xi32>
to i64 (which should have been <2xi64>).

Fixes: rdar://66016901

Differential Revision: https://reviews.llvm.org/D84884




More information about the All-commits mailing list