[all-commits] [llvm/llvm-project] ea7a3e: [X86] simplifyX86varShift - use KnownBits.getMaxVa...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Feb 3 08:03:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea7a3e6a6a131ef61dbc2dd5802e7cb6caf56f74
      https://github.com/llvm/llvm-project/commit/ea7a3e6a6a131ef61dbc2dd5802e7cb6caf56f74
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp

  Log Message:
  -----------
  [X86] simplifyX86varShift - use KnownBits.getMaxValue().ult() to check for out of bounds shift amounts

This is easier to grok than MaskedValueIsZero for high bits.


  Commit: ec38e19a2a4f44ff29f8e0ae70f75ed22a7b4f32
      https://github.com/llvm/llvm-project/commit/ec38e19a2a4f44ff29f8e0ae70f75ed22a7b4f32
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-02-03 (Thu, 03 Feb 2022)

  Changed paths:
    M llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h

  Log Message:
  -----------
  MipsABIFlagsSection.h - replace unnecessary StringRef include with forward declaration


Compare: https://github.com/llvm/llvm-project/compare/9b65641d5e8c...ec38e19a2a4f


More information about the All-commits mailing list