[all-commits] [llvm/llvm-project] d97f49: [X86] Add pointer mask test coverage for implicit ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Oct 3 09:33:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d97f49b7e0be80af575d7156057e1e57ab71440c
      https://github.com/llvm/llvm-project/commit/d97f49b7e0be80af575d7156057e1e57ab71440c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M llvm/test/CodeGen/X86/addr-mode-matcher-3.ll

  Log Message:
  -----------
  [X86] Add pointer mask test coverage for implicit NSW/NUW adds

promoteExtBeforeAdd currently relies on a NSW/NUW flag, which have been lost by previous folds.


  Commit: 4c37372daef153ace445286f83f6e4f836327162
      https://github.com/llvm/llvm-project/commit/4c37372daef153ace445286f83f6e4f836327162
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/addr-mode-matcher-3.ll

  Log Message:
  -----------
  [X86] promoteExtBeforeAdd - determine if an addition is implicitly NSW/NUW

Pulled out of D155472


Compare: https://github.com/llvm/llvm-project/compare/0701ee69f7ac...4c37372daef1


More information about the All-commits mailing list