[all-commits] [llvm/llvm-project] 214683: [DAGCombiner] avoid crash on out-of-bounds insert ...

RotateRight via All-commits all-commits at lists.llvm.org
Mon Nov 25 13:27:48 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 214683f3b2d6f421c346debf41d545de18cc0caa
      https://github.com/llvm/llvm-project/commit/214683f3b2d6f421c346debf41d545de18cc0caa
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2019-11-25 (Mon, 25 Nov 2019)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/insertelement-var-index.ll
    M llvm/test/CodeGen/X86/vec_extract.ll

  Log Message:
  -----------
  [DAGCombiner] avoid crash on out-of-bounds insert index (PR44139)

We already have this simplification at node-creation-time, but
the test from:
https://bugs.llvm.org/show_bug.cgi?id=44139
...shows that we can combine our way to an assert/crash too.




More information about the All-commits mailing list