[all-commits] [llvm/llvm-project] 03f338: [AArch64] Ensure we do not access illegal operands...

David Green via All-commits all-commits at lists.llvm.org
Fri Sep 1 06:12:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03f338e7e0d4eb9c5b28f860b89615832d5e6693
      https://github.com/llvm/llvm-project/commit/03f338e7e0d4eb9c5b28f860b89615832d5e6693
  Author: David Green <david.green at arm.com>
  Date:   2023-09-01 (Fri, 01 Sep 2023)

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

  Log Message:
  -----------
  [AArch64] Ensure we do not access illegal operands in tryCombineMULLWithUZP1

https://github.com/llvm/llvm-project/issues/65015 shows a case where
tryCombineMULLWithUZP1 could attempt to look at the wrong operand of another
user instruction. This adds an extra else as if we don't find the right opcode,
we don't need to check the operands.

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




More information about the All-commits mailing list