http://llvm.org/bugs/show_bug.cgi?id=20126

            Bug ID: 20126
           Summary: clang assertion failure with OpenCL function: "Only
                    storage fields have tail padding!"
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 12704
  --> http://llvm.org/bugs/attachment.cgi?id=12704&action=edit
Preprocessed source

I'm getting an assertion when trying to compile an OpenCL function:

CGRecordLayoutBuilder.cpp:526: void <anonymous
namespace>::CGRecordLowering::clipTailPadding(): Assertion `Prior->Kind ==
MemberInfo::Field && !Prior->FD && "Only storage fields have tail padding!"'

It only happens when I compile using -triple r600.  When I compile for x86_64
there is no assertion failure.  I've attached the preprocessed .cl file and
script for reproducing. This may be related to bug 19514.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to