[all-commits] [llvm/llvm-project] 5a1d9c: Fix x86/x86_64 calling convention for _ExtInt

Erich Keane via All-commits all-commits at lists.llvm.org
Wed Apr 29 11:04:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a1d9c0f5ac85b486a539b1d9558205821f17b33
      https://github.com/llvm/llvm-project/commit/5a1d9c0f5ac85b486a539b1d9558205821f17b33
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/test/CodeGen/ext-int-sanitizer.cpp
    M clang/test/CodeGen/ext-int.c
    M clang/test/CodeGenCXX/ext-int.cpp

  Log Message:
  -----------
  Fix x86/x86_64 calling convention for _ExtInt

After speaking with Craig Topper about some recent defects, he pointed
out that _ExtInts should be passed indirectly if larger than the largest
int register, and like ints when smaller than that.  This patch
implements that.

Note that this changed the way vaargs worked quite a bit, but they still
work.

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




More information about the All-commits mailing list