[llvm-commits] NVPTX: Handle struct literal arguments without crashing

Meador Inge meadori at codesourcery.com
Tue Nov 27 21:10:00 PST 2012


On Nov 27, 2012, at 12:28 PM, Eric Holk wrote:

> I found that compiling functions using struct literals would trip an assert in StructType::getName. This patch checks that the struct isn't a literal struct before calling getName and allows it to generate code successfully.
> 
> Let me know if there are questions, comments, or anything else needed from me.

Please provide a test case.

--
Meador Inge
CodeSourcery / Mentor Embedded





More information about the llvm-commits mailing list