[all-commits] [llvm/llvm-project] 8e1038: [ValueMapper] Preserve poison types during value m...

Carl Ritson via All-commits all-commits at lists.llvm.org
Sun Mar 5 21:22:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e1038bd159638aa354144c76a07cbc1399b04dc
      https://github.com/llvm/llvm-project/commit/8e1038bd159638aa354144c76a07cbc1399b04dc
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/ValueMapper.cpp
    M llvm/unittests/Transforms/Utils/ValueMapperTest.cpp

  Log Message:
  -----------
  [ValueMapper] Preserve poison types during value mapping

Poison needs to be treated directly during type remap otherwise
it will be considered an instance of undef.

Reviewed By: dexonsmith

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




More information about the All-commits mailing list