Issue 153159
Summary [AArch64] AArch64TargetLowering::computeKnownBitsForTargetNode - add support for AArch64ISD::MOV/MVN constants
Labels good first issue, backend:AArch64
Assignees
Reporter RKSimon
    Followup to #148596

AArch64TargetLowering::computeKnownBitsForTargetNode is still missing for the following constant nodes:

```
  case AArch64ISD::MOVIedit:
  case AArch64ISD::MOVImsl:
  case AArch64ISD::MVNIshift:
  case AArch64ISD::MVNImsl:
```

As its tricky to get codegen folds to consistently use these, it might be easiest to add test coverage to AArch64SelectionDAGTest.cpp (there are already some computeKnownBits tests in there) - adding unit test coverage for the existing AArch64ISD::MOVI and AArch64ISD::MOVIshift handling would be useful there as well.

CC @aabhinavg1
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to