[all-commits] [llvm/llvm-project] f652bf: [X86] Fix typo in vXi64 ABDS/ABDU test cases

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Mar 14 07:42:19 PDT 2023


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

  Changed paths:
    M llvm/test/CodeGen/X86/abds-vector-128.ll
    M llvm/test/CodeGen/X86/abds-vector-256.ll
    M llvm/test/CodeGen/X86/abds-vector-512.ll
    M llvm/test/CodeGen/X86/abdu-vector-128.ll
    M llvm/test/CodeGen/X86/abdu-vector-256.ll
    M llvm/test/CodeGen/X86/abdu-vector-512.ll

  Log Message:
  -----------
  [X86] Fix typo in vXi64 ABDS/ABDU test cases

The select operands were commuted preventing D144789 from folding


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AMDGPU/fneg.ll

  Log Message:
  -----------
  [DAG] Fold (bitcast (logicop (bitcast x), (c))) -> (logicop x, (bitcast c)) iff the current logicop type is illegal

Try to remove extra bitcasts around logicops if we're dealing with illegal types

Fixes the regressions in D145939

Differential Revision: https://reviews.llvm.org/D146032


Compare: https://github.com/llvm/llvm-project/compare/022f2fa3ad2f...4bf004e07e2b


More information about the All-commits mailing list