[all-commits] [llvm/llvm-project] 1184f8: [InstCombine] add tests for icmp-of-trunc; NFC

Sanjay Patel via All-commits all-commits at lists.llvm.org
Tue Sep 6 05:19:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1184f8cca5250a90a383a740a76756a15b0c4298
      https://github.com/llvm/llvm-project/commit/1184f8cca5250a90a383a740a76756a15b0c4298
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/icmp-trunc.ll

  Log Message:
  -----------
  [InstCombine] add tests for icmp-of-trunc; NFC


  Commit: dd6eb4d67f234afe115981957f91f5d81eba9db6
      https://github.com/llvm/llvm-project/commit/dd6eb4d67f234afe115981957f91f5d81eba9db6
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp

  Log Message:
  -----------
  [InstCombine] reduce code duplication; NFC


  Commit: a8fcb512426316080b94702538061914bb4a6bd1
      https://github.com/llvm/llvm-project/commit/a8fcb512426316080b94702538061914bb4a6bd1
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-09-06 (Tue, 06 Sep 2022)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/icmp.ll

  Log Message:
  -----------
  [InstSimplify] allow poison/undef in constant match for "C - X ==/!= X -> false/true"

This fold was added with 5e9522c311dd, but over-specified.
We can assume that an undef element is an odd number:
https://alive2.llvm.org/ce/z/djQmWU


Compare: https://github.com/llvm/llvm-project/compare/0cecc6e8e27c...a8fcb5124263


More information about the All-commits mailing list