[all-commits] [llvm/llvm-project] 495d9e: [AArch64] NFC: Auto-generate llvm/test/CodeGen/AAr...

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Wed Oct 12 01:35:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 495d9e1f3fe65ae93cda969720a2ed0b75170e2f
      https://github.com/llvm/llvm-project/commit/495d9e1f3fe65ae93cda969720a2ed0b75170e2f
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M llvm/test/CodeGen/AArch64/sve-ptest-removal-brk.ll

  Log Message:
  -----------
  [AArch64] NFC: Auto-generate llvm/test/CodeGen/AArch64/sve-ptest-removal-brk.ll


  Commit: a17fcb223036a4cbd02a9a96cd3e94d52a3ca7c1
      https://github.com/llvm/llvm-project/commit/a17fcb223036a4cbd02a9a96cd3e94d52a3ca7c1
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    M llvm/test/CodeGen/AArch64/sve-ptest-removal-brk.ll

  Log Message:
  -----------
  [AArch64][SVE] Fix BRKNS bug in optimizePTestInstr

The BRKNS instruction is unlike the other instructions that set flags
since it has an all active implicit predicate, so the existing

  PTEST(PG, BRKN(PG, A, B)) -> BRKNS(PG, A, B)

in AArch64InstrInfo::optimizePTestInstr is incorrect, however

  PTEST(PTRUE_B(31), BRKN(PG, A, B)) -> BRKNS(PG, A, B)

is correct.

Spotted by @paulwalker-arm in D134946.

Reviewed By: paulwalker-arm

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


Compare: https://github.com/llvm/llvm-project/compare/28e65a6a63ab...a17fcb223036


More information about the All-commits mailing list