[all-commits] [llvm/llvm-project] 66281b: [InstCombine] Fix type of constant in canonicalize...

David Green via All-commits all-commits at lists.llvm.org
Sat Oct 30 01:06:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 66281baea1dfb798dd583af236d4cf5abe4a73ec
      https://github.com/llvm/llvm-project/commit/66281baea1dfb798dd583af236d4cf5abe4a73ec
  Author: David Green <david.green at arm.com>
  Date:   2021-10-30 (Sat, 30 Oct 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/truncating-saturate.ll

  Log Message:
  -----------
  [InstCombine] Fix type of constant in canonicalizeClampLike

As a followup to D108049, one of the constants could now be generated
with an incorrect type, now that the input could be truncated.




More information about the All-commits mailing list