[all-commits] [llvm/llvm-project] c295c6: Revert "[InstCombine] PHI-of-extractvalues -> extr...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Tue Aug 25 23:24:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c295c6f2c04e771f44322e5dfdd681a5ace300e5
      https://github.com/llvm/llvm-project/commit/c295c6f2c04e771f44322e5dfdd681a5ace300e5
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-08-26 (Wed, 26 Aug 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
    M llvm/test/Transforms/InstCombine/phi-aware-aggregate-reconstruction.ll
    M llvm/test/Transforms/InstCombine/phi-of-extractvalues.ll

  Log Message:
  -----------
  Revert "[InstCombine] PHI-of-extractvalues -> extractvalue-of-PHI, aka invokes are bad"

This reverts commit fcb51d8c2460faa23b71e06abb7e826243887dd6.

As buildbots report, there's apparently some missing check to ensure
that the types of incoming values match the type of PHI.
Let's revert for a moment.




More information about the All-commits mailing list