[all-commits] [llvm/llvm-project] 55f6b2: [AArch64] AArch64TargetLowering::computeKnownBitsF...

Yatao Wang via All-commits all-commits at lists.llvm.org
Tue Aug 26 10:20:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55f6b294bdd7fa332355d9334bdd81358144ba57
      https://github.com/llvm/llvm-project/commit/55f6b294bdd7fa332355d9334bdd81358144ba57
  Author: Yatao Wang <ningxinr at live.cn>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp

  Log Message:
  -----------
  [AArch64] AArch64TargetLowering::computeKnownBitsForTargetNode - add support for AArch64ISD::MOV/MVN constants (#154039)

Add support for the following constant nodes in
`AArch64TargetLowering::computeKnownBitsForTargetNode`:
```
  case AArch64ISD::MOVIedit:
  case AArch64ISD::MOVImsl:
  case AArch64ISD::MVNIshift:
  case AArch64ISD::MVNImsl:
```

Also add `AArch64TargetLowering::computeKnownBitsForTargetNode` tests
for all the MOVI constant nodes in
`llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp`

Fixes: #153159

---------

Co-authored-by: Simon Pilgrim <llvm-dev at redking.me.uk>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list