Page MenuHomePhabricator

[RISCV][NFC] Replace explicit type i64 with riscv customized SDTypeProfile.

Authored by Jim on Thu, Apr 8, 4:20 AM.



New SDTypeProfile can be reused for other word operation patterns without explicit i64 type in the future.

Diff Detail

Event Timeline

Jim created this revision.Thu, Apr 8, 4:20 AM
Jim requested review of this revision.Thu, Apr 8, 4:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptThu, Apr 8, 4:20 AM
craig.topper added inline comments.Thu, Apr 8, 9:24 AM

Since the types of both operands and the result have to be i64 isn't this equivalent to SDT_RISCVIntBinOpW?

Jim updated this revision to Diff 336302.Thu, Apr 8, 8:00 PM

Remove duplicate SDT_RISCVIntShiftOpW.

Jim marked an inline comment as done.Thu, Apr 8, 8:04 PM
This revision is now accepted and ready to land.Thu, Apr 8, 10:42 PM