[PATCH] D66180: [GlobalISel][CallLowering] Add support for splitting types according to calling conventions

Mark Murray via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 9 09:05:56 PDT 2019


MarkMurrayARM reopened this revision.
MarkMurrayARM added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/trunk/lib/CodeGen/GlobalISel/CallLowering.cpp:289
     CCValAssign &VA = ArgLocs[j];
     assert(VA.getValNo() == i && "Location doesn't correspond to current arg");
 
----------------
After this commit, I'm seeing this assert firing.

test.c:
typedef struct { __int128_t m3 } struct2;
typedef struct { __uint128_t m2 } union12;
fn1(int p1, struct2 p2, p3, p4, p5, union12 p6, p7) {}

Compiled with:
clang -cc1 -triple aarch64-arm-none-eabi -emit-obj -O0 -o test.o test.c


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66180/new/

https://reviews.llvm.org/D66180





More information about the llvm-commits mailing list