[all-commits] [llvm/llvm-project] e76c95: [InstCombine] add tests for signbit compares; NFC

Sanjay Patel via All-commits all-commits at lists.llvm.org
Mon Jan 23 15:25:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e76c95fb40b1081438ca65be8731108fa0272a95
      https://github.com/llvm/llvm-project/commit/e76c95fb40b1081438ca65be8731108fa0272a95
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-23 (Mon, 23 Jan 2023)

  Changed paths:
    M llvm/lib/Support/NativeFormatting.cpp
    M llvm/test/Transforms/InstCombine/icmp-shr.ll

  Log Message:
  -----------
  [InstCombine] add tests for signbit compares; NFC


  Commit: 3e58d94780750b7b68fb7fd3185dcfa121337255
      https://github.com/llvm/llvm-project/commit/3e58d94780750b7b68fb7fd3185dcfa121337255
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-23 (Mon, 23 Jan 2023)

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

  Log Message:
  -----------
  [InstCombine] remove dead pattern matching code; NFC

Complexity canonicalization guarantees that a binop and cast
are op0/op1 respectively. Adjusted generic test names to
show that this pattern is still useful.


  Commit: 3a295f03359f87a3e401dce72b43a0c9c93a20c4
      https://github.com/llvm/llvm-project/commit/3a295f03359f87a3e401dce72b43a0c9c93a20c4
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-23 (Mon, 23 Jan 2023)

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

  Log Message:
  -----------
  [InstCombine] add tests for masked/casted icmp; NFC


  Commit: 7a9e3ad070653544536a3be5fe18104bc305014f
      https://github.com/llvm/llvm-project/commit/7a9e3ad070653544536a3be5fe18104bc305014f
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-23 (Mon, 23 Jan 2023)

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

  Log Message:
  -----------
  [InstCombine] relax one-use check for icmp with mask/cast


  Commit: 82dcfe0dbbfac68056c6cb9c1ba5222ff836317c
      https://github.com/llvm/llvm-project/commit/82dcfe0dbbfac68056c6cb9c1ba5222ff836317c
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-23 (Mon, 23 Jan 2023)

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

  Log Message:
  -----------
  [InstCombine] allow matching vector types for icmp-of-mask/cast

Also use a more specific matcher to simplify the mask
compare to type size.


Compare: https://github.com/llvm/llvm-project/compare/2dc33713de7c...82dcfe0dbbfa


More information about the All-commits mailing list