[all-commits] [llvm/llvm-project] 1cf6f2: [IR] Disable select ? C : undef -> C fold in Const...

topperc via All-commits all-commits at lists.llvm.org
Fri Jul 10 10:42:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cf6f210a2ed87dcda2183fffd6f9aa17b5c493c
      https://github.com/llvm/llvm-project/commit/1cf6f210a2ed87dcda2183fffd6f9aa17b5c493c
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/test/Transforms/InferAddressSpaces/AMDGPU/select.ll
    M llvm/test/Transforms/InstSimplify/select.ll

  Log Message:
  -----------
  [IR] Disable select ? C : undef -> C fold in ConstantFoldSelectInstruction unless we know C isn't poison.

This matches the recent change to InstSimplify from D83440.

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




More information about the All-commits mailing list