HomePhabricator

[OpenCL][NFCI] Prefer CodeGenFunction::EmitRuntimeCall

Authored by ldrumm on Mar 16 2021, 6:28 AM.

Description

[OpenCL][NFCI] Prefer CodeGenFunction::EmitRuntimeCall

CodeGenFunction::EmitRuntimeCall automatically sets the right calling
convention for the callee so we can avoid setting it ourselves.

As requested in https://reviews.llvm.org/D98411

Reviewed by: anastasia
Differential Revision: https://reviews.llvm.org/D98705

Details

Committed
ldrummMar 16 2021, 9:22 AM
Reviewer
Anastasia
Differential Revision
D98705: [OpenCL] Prefer CodeGenFunction::EmitRuntimeCall
Parents
rGd2eae990a1bd: [LoopVectorize] add FP induction test with minimal FMF; NFC
Branches
Unknown
Tags
Unknown