[PATCH] D29668: Elide argument copies during instruction selection

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 16:26:16 PST 2017


MatzeB added a comment.

This seems to break swift. We probably have an i1 parameter ending in

  int FI = MFI.CreateFixedObject(ArgVT.getSizeInBits() / 8,
                                 VA.getLocMemOffset(), /*Immutable=*/false);

resulting in Assertion failed: (Size != 0 && "Cannot allocate zero size fixed stack objects!"), function CreateFixedObject, file /Volumes/Data/swift-next/lib/CodeGen/MachineFunction.cpp, line 824.

I am still working on a reproducer.


Repository:
  rL LLVM

https://reviews.llvm.org/D29668





More information about the llvm-commits mailing list