This is an archive of the discontinued LLVM Phabricator instance.

[IR] Use CallBase to reduce code duplication. NFC
ClosedPublic

Authored by craig.topper on Jan 26 2019, 3:20 PM.

Details

Summary

Noticed in the asm-goto patch. Callbr needs to go here too. One cast and call is better than 3.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Jan 26 2019, 3:20 PM
This revision is now accepted and ready to land.Jan 29 2019, 2:31 PM
This revision was automatically updated to reflect the committed changes.