This is an archive of the discontinued LLVM Phabricator instance.

Add implementation isTargetCanonicalConstantNode for hexagon.
ClosedPublic

Authored by hokein on Dec 7 2022, 3:20 AM.

Diff Detail

Event Timeline

hokein created this revision.Dec 7 2022, 3:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 7 2022, 3:20 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
hokein requested review of this revision.Dec 7 2022, 3:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 7 2022, 3:20 AM

Can you add the test cases from D137140?

hokein updated this revision to Diff 480843.Dec 7 2022, 3:46 AM

add a testcase

hokein added a comment.Dec 7 2022, 3:47 AM

Can you add the test cases from D137140?

Added one (I'm not familiar with this part of code, suggestions are welcome).

bkramer added a subscriber: bkramer.Dec 7 2022, 4:12 AM

Mind moving the test case from llvm/test/CodeGen/AArch64 to llvm/test/CodeGen/Hexagon?

hokein updated this revision to Diff 480850.Dec 7 2022, 4:15 AM

move to a new directory

hokein added a comment.Dec 7 2022, 4:16 AM

Mind moving the test case from llvm/test/CodeGen/AArch64 to llvm/test/CodeGen/Hexagon?

sure, done!

bkramer accepted this revision.Dec 7 2022, 4:17 AM

Looks good, thanks. Let's land this now to unbreak things.

This revision is now accepted and ready to land.Dec 7 2022, 4:17 AM
This revision was landed with ongoing or failed builds.Dec 7 2022, 4:21 AM
This revision was automatically updated to reflect the committed changes.
hokein added inline comments.Dec 7 2022, 4:25 AM
llvm/test/CodeGen/Hexagon/infinite-loop.ll
1

oops, forget to fix typo here (to verify the test), fixed in 3abdd9b91bc17541e78de6251043e178efe0e3ee.