HomePhabricator

[clang][codegen] Refactor argument loading in function prolog. NFC.

Authored by hliao on Mon, May 4, 8:53 PM.

Description

[clang][codegen] Refactor argument loading in function prolog. NFC.

Summary:

  • Skip copying function arguments and unnecessary casting by using them directly.

Reviewers: rjmccall, kerbowa, yaxunl

Subscribers: cfe-commits

Tags: #clang

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