[all-commits] [llvm/llvm-project] ea85ff: [X86] Fix a bug that when lowering byval argument

MorningLiu via All-commits all-commits at lists.llvm.org
Tue Jul 7 06:50:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ea85ff82c82687496453bc14c4ac60548a42d8f3
      https://github.com/llvm/llvm-project/commit/ea85ff82c82687496453bc14c4ac60548a42d8f3
  Author: Liu, Chen3 <chen3.liu at intel.com>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/test/CodeGen/X86/win64-byval.ll

  Log Message:
  -----------
  [X86] Fix a bug that when lowering byval argument

When an argument has 'byval' attribute and should be
passed on the stack according calling convention,
a stack copy would be emitted twice. This will cause
the real value will be put into stack where the pointer
should be passed.

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




More information about the All-commits mailing list