[all-commits] [llvm/llvm-project] f46fe3: [AArch64] Fix incorrect getSetCCInverse usage with...

paulwalker-arm via All-commits all-commits at lists.llvm.org
Sat Mar 19 05:37:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f46fe36d59f6592162f88af08bf04c6998afd636
      https://github.com/llvm/llvm-project/commit/f46fe36d59f6592162f88af08bf04c6998afd636
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2022-03-19 (Sat, 19 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sve-select.ll

  Log Message:
  -----------
  [AArch64] Fix incorrect getSetCCInverse usage within trySwapVSelectOperands.

When inverting the compare predicate trySwapVSelectOperands is
incorrectly using the type of the select's cond operand rather
than the type of cond's operands. This means we're treating all
inversions as if they're integer.

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




More information about the All-commits mailing list