This is an archive of the discontinued LLVM Phabricator instance.

[IR] Use CallBase to simplify some code
ClosedPublic

Authored by craig.topper on Jan 29 2019, 1:55 PM.

Details

Summary

This patch does the following to simplify the asm-goto patch

-Move isInlineAsm from CallInst to CallBase to share with CallBrInst in the asm-goto patch.
-Forward CallSite's data_operands_begin()/data_operands_end() to CallBase's implementation.
-Forward CallSite's getOperandBundlesAsDefs to CallBase.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Jan 29 2019, 1:55 PM
This revision is now accepted and ready to land.Jan 29 2019, 6:12 PM
This revision was automatically updated to reflect the committed changes.