[all-commits] [llvm/llvm-project] 16266e: [Scalarizer] When gathering scattered scalar, don'...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Tue Jul 7 07:05:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 16266e63963ad6ee27ad21983a9366ab313dfd03
      https://github.com/llvm/llvm-project/commit/16266e63963ad6ee27ad21983a9366ab313dfd03
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Scalarizer.cpp
    M llvm/test/Transforms/Scalarizer/crash-bug.ll

  Log Message:
  -----------
  [Scalarizer] When gathering scattered scalar, don't replace it with itself

The (previously-crashing) test-case would cause us to seemingly-harmlessly
replace some use with something else, but we can't replace it with itself,
so we would crash.




More information about the All-commits mailing list