[LLVMbugs] [Bug 8731] Clang generates load of struct value.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 4 15:35:32 PST 2010


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

Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Chris Lattner <clattner at apple.com> 2010-12-04 17:35:32 CST ---
Dan's point is that first class values in general disable fastisel.  However,
there is nothing that we can do about it in this case, as the ABI requires us
to return them.  Using insertvalue instead of load won't help us, it will cause
the same fastisel bail out.  When optimizations are enabled, fast isel isn't
used, so there is no problem at -O.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list