[all-commits] [llvm/llvm-project] fb60e5: [GlobalISel] Fix a combine crash due to a negative...

Amara Emerson via All-commits all-commits at lists.llvm.org
Mon Sep 5 04:28:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb60e50c789c3735f2c8f7209e56fac604d18bbf
      https://github.com/llvm/llvm-project/commit/fb60e50c789c3735f2c8f7209e56fac604d18bbf
  Author: Amara Emerson <amara at apple.com>
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-insert-vec-elt.mir

  Log Message:
  -----------
  [GlobalISel] Fix a combine crash due to a negative G_INSERT_VECTOR_ELT idx.

These should really be folded away to undef but we shouldn't crash in any case.




More information about the All-commits mailing list