[LLVMbugs] [Bug 3997] llc lowers intrinsics incorrectly with the presense of regparm attribute

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Apr 21 08:18:15 PDT 2009


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


Andrew Lenharth <alenhar2 at uiuc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alenhar2 at uiuc.edu
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




--- Comment #4 from Andrew Lenharth <alenhar2 at uiuc.edu>  2009-04-21 10:18:14 ---
The problem here is llvm-gcc is not respecting either the -ffreestanding or
-fno-builtin flags by generating an llvm intrinsic for memcpy.  The definition
in the C file (with the regparm flag) no longer matches the intrinsic and
should not be lowered to an intrinsic in the IR.


-- 
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