[all-commits] [llvm/llvm-project] 5c57e6: [Clang] Extend emitUnaryBuiltin to avoid duplicate...

Jun Zhang via All-commits all-commits at lists.llvm.org
Tue Jan 4 03:48:10 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c57e6aa5777bddf9ddaca5d927f1b47a1a9d381
  Author: Jun Zhan <jun at junz.org>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

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

  Log Message:
  [Clang] Extend emitUnaryBuiltin to avoid duplicate logic.

This patch extends `emitUnaryBuiltin` so that we can better emitting IR when
implement builtins specified in D111529.

Also contains some NFC, applying it to existing code.

Reviewed By: fhahn

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

More information about the All-commits mailing list