[all-commits] [llvm/llvm-project] e6cf29: [InstCombine][X86] Add some basic knownbits tests ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jul 4 03:14:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6cf292003fa53214a8abf2b4150e58296f76483
      https://github.com/llvm/llvm-project/commit/e6cf292003fa53214a8abf2b4150e58296f76483
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll

  Log Message:
  -----------
  [InstCombine][X86] Add some basic knownbits tests for PMULH/PMULHU

Recognise known zero upperbits


  Commit: 5c204b1d2619cbad7b7ad228b62feae08781a6db
      https://github.com/llvm/llvm-project/commit/5c204b1d2619cbad7b7ad228b62feae08781a6db
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-07-04 (Thu, 04 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
    M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll

  Log Message:
  -----------
  [ValueTracking][X86] computeKnownBitsFromOperator - add PMULH/PMULHU intrinsics mulhs/mulhu known bits handling.

These map directly to the KnownBits implementations.


Compare: https://github.com/llvm/llvm-project/compare/2c0add93b2df...5c204b1d2619

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list