[all-commits] [llvm/llvm-project] e9305f: [X86] combineAnd/combineAddOrSub - use DAG::getNeg...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Apr 30 09:31:25 PDT 2024


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

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

  Log Message:
  -----------
  [X86] combineAnd/combineAddOrSub - use DAG::getNegative() helper. NFC.


  Commit: 38c68e0746dc4ee19480dd4c9ee572895eb07136
      https://github.com/llvm/llvm-project/commit/38c68e0746dc4ee19480dd4c9ee572895eb07136
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-04-30 (Tue, 30 Apr 2024)

  Changed paths:
    A llvm/test/CodeGen/X86/cmp16.ll

  Log Message:
  -----------
  [X86] Add icmp i16 test coverage

Based off #90355 - add basic tests for cases when to extend i16 comparisons to i32


  Commit: 91c52b966a09e37a96ed87bcf5b422de7711bf50
      https://github.com/llvm/llvm-project/commit/91c52b966a09e37a96ed87bcf5b422de7711bf50
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-04-30 (Tue, 30 Apr 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAG] Pull out repeated SDLoc() from SHL/SRL/SRA combines. NFC.

We were always calling SDLoc(N) at the top of each visitSHL/SRL/SRA for the FoldConstantArithmetic call, so just reuse this as much as possible.


Compare: https://github.com/llvm/llvm-project/compare/97069a86193a...91c52b966a09

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