[LLVMbugs] [Bug 694] NEW: llvm-gcc incorrectly sets the 'asm' flag for LLVM intrinsics
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Jan 18 10:47:40 PST 2006
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=694
Summary: llvm-gcc incorrectly sets the 'asm' flag for LLVM
intrinsics
Product: tools
Version: 1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sabre at nondot.org
Consider:
unsigned bswap(unsigned) __asm__("llvm.bswap.i32");
unsigned G;
void T() { G = bswap(G); }
The llvm-gcc front-end is currently giving the bswap function the name '\1llvm.bswap.i32', it should
give it the name 'llvm.bswap.i32'.
This is fixed in the new front-end.
-Chris
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list