HomePhabricator

[IR] Use CallBase to reduce code duplication. NFC

Authored by craig.topper on Jan 29 2019, 3:31 PM.

Description

[IR] Use CallBase to reduce code duplication. NFC

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

Differential Revision: https://reviews.llvm.org/D57295

llvm-svn: 352563

Details

Committed
craig.topperJan 29 2019, 3:31 PM
Differential Revision
D57295: [IR] Use CallBase to reduce code duplication. NFC
Parents
rGd45b03bb8145: GlobalISel: Verify pointer casts
Branches
Unknown
Tags
Unknown