[all-commits] [llvm/llvm-project] 07ed1f: [SelectionDAGBuilder] Fix ISD::FREEZE creation for...

topperc via All-commits all-commits at lists.llvm.org
Mon Apr 6 11:03:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 07ed1fb5977804e6bda9f3c915a8c2d1c3f541a9
      https://github.com/llvm/llvm-project/commit/07ed1fb5977804e6bda9f3c915a8c2d1c3f541a9
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/X86/freeze.ll

  Log Message:
  -----------
  [SelectionDAGBuilder] Fix ISD::FREEZE creation for structs with fields of different types.

The previous code used the type of the first field for the VT
passed to getNode for every field.

I've based the implementation here off what is done in visitSelect
as it removes the need to special case aggregates.

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




More information about the All-commits mailing list