[all-commits] [llvm/llvm-project] 42d923: [TargetInstrInfo][NFC] Don't restrict isAddImmedia...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Thu Nov 16 06:44:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42d9232a0259b33da89d32e4ebca5d5f497c5f5e
      https://github.com/llvm/llvm-project/commit/42d9232a0259b33da89d32e4ebca5d5f497c5f5e
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h

  Log Message:
  -----------
  [TargetInstrInfo][NFC] Don't restrict isAddImmediate description to physical registers (#72357)

None of the in-tree implementations have different behaviour for
physical vs virtual registers, and it seems would work equally well if
used with virtual registers. As such, perhaps it's simplest to just drop
that part of the doc comment.




More information about the All-commits mailing list