[all-commits] [llvm/llvm-project] 440f6b: [OpenCL][NFCI] Prefer CodeGenFunction::EmitRuntime...

ldrumm via All-commits all-commits at lists.llvm.org
Tue Mar 16 09:23:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 440f6bdf34f4ce3ac3435d650f5296dcc0102488
      https://github.com/llvm/llvm-project/commit/440f6bdf34f4ce3ac3435d650f5296dcc0102488
  Author: Luke Drummond <luke.drummond at codeplay.com>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list