[all-commits] [llvm/llvm-project] 86780f: [AArch64] Fix order of isReg and isDef checks in I...

David Green via All-commits all-commits at lists.llvm.org
Wed Jul 12 01:51:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86780f49ef79ee3de93ee2fba6d3d6ad01ca4da3
      https://github.com/llvm/llvm-project/commit/86780f49ef79ee3de93ee2fba6d3d6ad01ca4da3
  Author: David Green <david.green at arm.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp
    M llvm/test/CodeGen/AArch64/peephole-insvigpr.mir

  Log Message:
  -----------
  [AArch64] Fix order of isReg and isDef checks in INSvi64 peephole.

The isDef asserts that the operand isReg, so the checks need to happen in the
other order.




More information about the All-commits mailing list