From bugzilla-daemon at cs.uiuc.edu Sun Feb 1 00:43:37 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 1 Feb 2009 00:43:37 -0600
Subject: [LLVMbugs] [Bug 3423] link fails on ARM EABI machine
In-Reply-To:
Message-ID: <200902010643.n116hbva028271@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3423
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Evan Cheng 2009-02-01 00:43:36 ---
Patch committed. Thanks.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090126/073032.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Feb 1 02:13:15 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 1 Feb 2009 02:13:15 -0600
Subject: [LLVMbugs] [Bug 3447] miscompilation of union { long double }
In-Reply-To:
Message-ID: <200902010813.n118DFTC030724@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3447
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sharparrow1 at yahoo.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Eli Friedman 2009-02-01 02:13:15 ---
Fixed in r63491.
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Feb 1 07:53:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 1 Feb 2009 07:53:26 -0600
Subject: [LLVMbugs] [Bug 3454] New: error: cannot codegen this
break/continue/ return inside scope with VLA yet
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3454
Summary: error: cannot codegen this break/continue/return inside
scope with VLA yet
Product: clang
Version: unspecified
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
clang is not able to codegen break/return/continue when called from a scope
with VLA's
witten /tmp# ccc vla.c
vla.c:9:3: error: cannot codegen this break inside scope with VLA yet
break;
^~~~~
vla.c:12:3: error: cannot codegen this continue inside scope with VLA yet
continue;
^~~~~~~~
vla.c:16:4: error: cannot codegen this return inside scope with VLA yet
return;
^~~~~~
3 diagnostics generated.
the attached vla.c demonstrates this problem
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Feb 1 12:08:56 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 1 Feb 2009 12:08:56 -0600
Subject: [LLVMbugs] [Bug 3453] assert on and i288
In-Reply-To:
Message-ID: <200902011808.n11I8uli018455@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3453
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Duncan Sands 2009-02-01 12:08:56 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090126/073039.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Feb 1 12:49:27 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 1 Feb 2009 12:49:27 -0600
Subject: [LLVMbugs] [Bug 3455] New: another spurious divide by zero
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3455
Summary: another spurious divide by zero
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: regehr at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu
At -O3, llvm-gcc r63488 on Ubuntu Hardy on x86 turns this program into one that
crashes via divide by zero. If you look at the safe_div macro, it can be seen
that the divide is properly guarded.
#include
#include
#define safe_div_macro_uint8_t_u_u(ui1,ui2) \
((((uint8_t)(ui2)) == ((uint8_t)0)) \
? ((uint8_t)(ui1)) \
: (((uint8_t)(ui1)) / ((uint8_t)(ui2))))
static uint8_t
safe_div_func_uint8_t_u_u (uint8_t _ui1, uint8_t _ui2)
{
return safe_div_macro_uint8_t_u_u(_ui1,_ui2);
}
#define safe_sub_macro_int64_t_s_s(si1,si2) \
((((((int64_t)(si1))^((int64_t)(si2))) \
& (((((int64_t)(si1)) ^ ((((int64_t)(si1))^((int64_t)(si2))) \
& (((int64_t)1) <<
(sizeof(int64_t)*CHAR_BIT-1))))-((int64_t)(si2)))^((int64_t)(si2)))) <
((int64_t)0)) \
? ((int64_t)(si1)) \
: (((int64_t)(si1)) - ((int64_t)(si2))) \
)
static int64_t
safe_sub_func_int64_t_s_s (int64_t _si1, int64_t _si2)
{
return safe_sub_macro_int64_t_s_s(_si1,_si2);
}
uint32_t g_62;
uint32_t g_116;
int32_t func_57 (uint8_t p_59, uint8_t p_60, uint8_t p_61);
int32_t func_57 (uint8_t p_59, uint8_t p_60, uint8_t p_61)
{
p_59 = (g_62 & p_60) != p_60;
if (safe_div_func_uint8_t_u_u (p_60, p_59))
for (1; 1; 1)
{
}
return 1;
}
void func_52 (void);
void func_52 (void)
{
if (func_57 (1, 1 < (safe_sub_func_int64_t_s_s (g_116, 1)), 1))
{
}
}
int
main (void)
{
func_52 ();
return 0;
}
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 00:16:17 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 00:16:17 -0600
Subject: [LLVMbugs] [Bug 3457] New: scheduling (?) severely pessimizing
scimark2 montecarlo loop
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3457
Summary: scheduling (?) severely pessimizing scimark2 montecarlo
loop
Product: libraries
Version: 1.0
Platform: PC
OS/Version: All
Status: NEW
Keywords: code-quality
Severity: normal
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2486)
--> (http://llvm.org/bugs/attachment.cgi?id=2486)
testcase
The main loop in MonteCarlo_integrate is:
%2 = tail call double @Random_nextDouble(%struct.anon* %0) nounwind
; [#uses=2]
%3 = tail call double @Random_nextDouble(%struct.anon* %0) nounwind
; [#uses=2]
%4 = mul double %2, %2 ; [#uses=1]
%5 = mul double %3, %3 ; [#uses=1]
%6 = add double %4, %5 ; [#uses=1]
...
We compile this to:
movl %esi, (%esp)
call L_Random_nextDouble$stub
fstpt -56(%ebp)
movl %esi, (%esp)
call L_Random_nextDouble$stub
fstpl -32(%ebp)
fldt -56(%ebp)
fstpl -24(%ebp)
movsd -24(%ebp), %xmm0
mulsd %xmm0, %xmm0
...
This is horrible because the conversion from long double to double got
scheduled after the second call, so we now get fstpt/fldt instructions (80-bit
fp load/stores), which are really really really slow (10x slower than fstpl. I
really want to see something like:
movl %esi, (%esp)
call L_Random_nextDouble$stub
fstpl -24(%ebp)
movl %esi, (%esp)
call L_Random_nextDouble$stub
fstpl -32(%ebp)
movsd -24(%ebp), %xmm0
mulsd %xmm0, %xmm0
...
One less spill, and no crazy 80-bit fp load and stores!
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 01:24:56 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 01:24:56 -0600
Subject: [LLVMbugs] [Bug 3372] .ll parser error when referencing '@0'
In-Reply-To:
Message-ID: <200902020724.n127OuLl011056@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3372
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2009-02-02 01:24:56 ---
Fixed, thanks!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073053.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 01:33:49 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 01:33:49 -0600
Subject: [LLVMbugs] [Bug 3380] LangRef doesn't mention backreference syntax
In-Reply-To:
Message-ID: <200902020733.n127XnV5011380@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3380
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Chris Lattner 2009-02-02 01:33:48 ---
I committed a modified version of your patch here, thanks!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073054.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 07:21:20 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 07:21:20 -0600
Subject: [LLVMbugs] [Bug 3459] New: addrof struct field not regarded as
constant
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3459
Summary: addrof struct field not regarded as constant
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nunoplopes at sapo.pt
CC: llvmbugs at cs.uiuc.edu
the follwing code is rejected by clang -fsyntax-only:
struct bar {
char n[1];
};
struct foo {
char name[(int)&((struct bar *)0)->n];
};
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 09:00:59 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 09:00:59 -0600
Subject: [LLVMbugs] [Bug 3459] addrof struct field not regarded as constant
In-Reply-To:
Message-ID: <200902021500.n12F0xmK005705@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3459
Nuno Lopes changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 11:20:53 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 11:20:53 -0600
Subject: [LLVMbugs] [Bug 3460] New: Failed assertion when handling LDR_PRE
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3460
Summary: Failed assertion when handling LDR_PRE
Product: libraries
Version: 2.4
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: thebohemian at gmx.net
CC: llvmbugs at cs.uiuc.edu
I am experiencing a failed assertion when the LDR_PRE instruction is handled by
the JIT compiler:
llvm-2.4-r0/llvm-2.4/include/llvm/CodeGen/MachineOperand.h:251: int64_t
llvm::MachineOperand::getImm() const: Assertion `isImm() && "Wrong
MachineOperand accessor"' failed.
I don't have much experience with the ARM ISA and how LLVM creates the
instructions but I see that some expectation is not met:
The variables MO2 and MO3 in the method
ARMCodeEmitter::getAddrMode2InstrBinary() have the following values when the
problem occurs:
(gdb) p $mo2 = $21
$23 = {OpKind = llvm::MachineOperand::MO_Register, IsDef = false,
IsImp = false, IsKill = false, IsDead = false, IsEarlyClobber = false,
SubReg = 0 '\0', ParentMI = 0xc971c, Contents = {MBB = 0x18, CFP = 0x18,
ImmVal = 3686284530810904, Reg = {RegNo = 24, Prev = 0xd18a8,
Next = 0xd0e58}, OffsetedInfo = {Val = {Index = 24,
SymbolName = 0x18 , GV = 0x18},
Offset = 858280}}}
(gdb) p $mo3 = $22
$24 = {OpKind = llvm::MachineOperand::MO_Register, IsDef = false,
IsImp = false, IsKill = false, IsDead = false, IsEarlyClobber = false,
SubReg = 0 '\0', ParentMI = 0xc971c, Contents = {MBB = 0x0, CFP = 0x0,
ImmVal = 3675529932701696, Reg = {RegNo = 0, Prev = 0xd0ee0,
Next = 0xd0e20}, OffsetedInfo = {Val = {Index = 0, SymbolName = 0x0,
GV = 0x0}, Offset = 855776}}}
When this code is executed:
Binary |= ((ARM_AM::getAM2Op(MO3.getImm()) == ARM_AM::add ? 1 : 0) <<
ARMII::U_BitShift);
MO3.getImm() gets called which triggers the assertion because MO3 is of the
"MO_Register" type.
What I don't know here is:
Is it wrong that MO3 is of type "MO_Register" or is it wrong that the code does
not expect it and unconditionally treats it as if it has the "MO_Immediate"
type.
Perhaps the whole issue is dead easy to solve for someone with experience in
this field. If not it would help me if you can answer me the question above.
Then I can continue searching for the reason of the problem.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 12:17:24 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 12:17:24 -0600
Subject: [LLVMbugs] [Bug 3461] New: clang accepts initializer for incomplete
type
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3461
Summary: clang accepts initializer for incomplete type
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Testcase:
struct foo x = {1};
Run through clang, prints no warnings/errors. Should print an error.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 13:42:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 13:42:36 -0600
Subject: [LLVMbugs] [Bug 3462] New: missing 128bit intrinsic on x86-64
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3462
Summary: missing 128bit intrinsic on x86-64
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: missing-feature
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: krox at gmx.net
CC: llvmbugs at cs.uiuc.edu
the intrinsic "llvm.atomic.cmp.swap.i128.p0i128" is not implemented, although
the architecture is capable of it. The asm-instruction is "cmpxchg16b" and
needs to be handled a litte different than the normal "cmpxchg" instruction for
shorter operands, cause it uses register pairs.
probably, the same is true for the 64bit intrinsic on x86 ("cmpxchg8b")
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 15:48:57 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 15:48:57 -0600
Subject: [LLVMbugs] [Bug 3463] New: error: cannot codegen this constant
expression yet
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3463
Summary: error: cannot codegen this constant expression yet
Product: clang
Version: unspecified
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
doug gregor wanted me to show this code snipper:
int bbb[10];
struct foo {
unsigned a;
};
struct foo bar[] = {
{ (int)&bbb }
};
it emits this error when compiled:
witten /tmp# clang -emit-llvm-bc ara.c
ara.c:8:11: error: cannot codegen this constant expression yet
{ (int)&bbb }
^~~~
1 diagnostic generated.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 17:20:16 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 17:20:16 -0600
Subject: [LLVMbugs] [Bug 3464] New: clang doesn't search current directory
for -include
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3464
Summary: clang doesn't search current directory for -include
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: preprocessor
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
--
ddunbar at lordcrumb:tmp$ touch a.h
ddunbar at lordcrumb:tmp$ gcc -fsyntax-only -include a.h -x c /dev/null
ddunbar at lordcrumb:tmp$ xcc -fsyntax-only -include a.h -x c /dev/null
:93:10: error: 'a.h' file not found
#include "a.h"
^
1 diagnostic generated.
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 18:35:02 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 18:35:02 -0600
Subject: [LLVMbugs] [Bug 3430] top-level 'struct x;
' decl shadows other non-top level ' struct s {...}' decls
In-Reply-To:
Message-ID: <200902030035.n130Z2Dl027344@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3430
Douglas Gregor changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Douglas Gregor 2009-02-02 18:35:01 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090202/011666.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 19:43:50 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 19:43:50 -0600
Subject: [LLVMbugs] [Bug 3465] New: opt -instcombine creates unreadable
bitcode file
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3465
Summary: opt -instcombine creates unreadable bitcode file
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: gohman at apple.com
CC: llvmbugs at cs.uiuc.edu
In SingleSource/Benchmarks/BenchmarkGame/partialsums,
opt creates a bitcode file which the bitcode reader is unable to
read. This is reproducible by running opt -instcombine on the
attached partialsums.linked.bc file and then attempting to
llvm-dis the result.
Currently the llvm-dis fails with this assertion:
Assertion failed: (Ty == V->getType() && "Type mismatch in constant table!"),
function getConstantFwdRef, file lib/Bitcode/Reader/BitcodeReader.cpp, line 187
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 20:11:52 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 20:11:52 -0600
Subject: [LLVMbugs] [Bug 3465] bitcode reader can't handle extractvalue
correctly
In-Reply-To:
Message-ID: <200902030211.n132Bq3W031264@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3465
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|opt -instcombine creates |bitcode reader can't handle
|unreadable bitcode file |extractvalue correctly
--- Comment #3 from Chris Lattner 2009-02-02 20:11:52 ---
Fixed:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073140.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 2 22:35:29 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 2 Feb 2009 22:35:29 -0600
Subject: [LLVMbugs] [Bug 3367] assertion failure: Cannot find callsite to
remove!
In-Reply-To:
Message-ID: <200902030435.n134ZTVn003515@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3367
Nick Lewycky changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nicholas at mxc.ca
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Nick Lewycky 2009-02-02 22:35:28 ---
Fixed in r63600.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 00:18:40 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 00:18:40 -0600
Subject: [LLVMbugs] [Bug 3367] assertion failure: Cannot find callsite to
remove!
In-Reply-To:
Message-ID: <200902030618.n136Ie6W007787@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3367
Nick Lewycky changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 00:48:29 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 00:48:29 -0600
Subject: [LLVMbugs] [Bug 3466] New: SROA ConvertUsesOfLoadToScalar assertion
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3466
Summary: SROA ConvertUsesOfLoadToScalar assertion
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: evan.cheng at apple.com
CC: llvmbugs at cs.uiuc.edu
x86-64 MallocBench/gs is broken.
Assertion failed: (NV->getType() == LI->getType() && "Didn't convert right?"),
function ConvertUsesOfLoadToScalar, file ScalarReplAggregates.cpp, line 1448.
Here is the test case:
define i32 @gs_makefont() nounwind {
entry:
%yx2.i = alloca float, align 4 ; [#uses=1]
%yx26.i = bitcast float* %yx2.i to i64* ; [#uses=1]
%0 = load i64* %yx26.i, align 8 ; [#uses=0]
unreachable
}
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 01:09:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 01:09:36 -0600
Subject: [LLVMbugs] [Bug 3466] SROA ConvertUsesOfLoadToScalar assertion
In-Reply-To:
Message-ID: <200902030709.n1379a3F009546@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3466
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-02-03 01:09:35 ---
Fixed:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073163.html
I'd strongly suggest finding out if the CFE is producing that or not, that is
extremely undefined behavior.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 03:09:32 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 03:09:32 -0600
Subject: [LLVMbugs] [Bug 3467] New: ssertion failed: ((NumParams ==
FTy->getNumParams() || ( FTy->isVarArg() && NumParams >
FTy->getNumParams())) && " Calling a function with bad signature!"),
function init, file Instructions. cpp, line 290.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3467
Summary: ssertion failed: ((NumParams == FTy->getNumParams() ||
(FTy->isVarArg() && NumParams > FTy->getNumParams())) &&
"Calling a function with bad signature!"), function
init, file Instructions.cpp, line 290.
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
attached triggers this, 2 days ago it compiled fine
lev /tmp$ clang -emit-llvm-bc screen.c
screen.c:1662:57: warning: 'format' attribute argument not supported:
__printf0__
void setproctitle(const char *_fmt, ...) __attribute__((__format__
(__printf0__, 1, 2)));
^
Assertion failed: ((NumParams == FTy->getNumParams() || (FTy->isVarArg() &&
NumParams > FTy->getNumParams())) && "Calling a function with bad signature!"),
function init, file Instructions.cpp, line 290.
Abort (core dumped)
lev /tmp$
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 04:43:03 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 04:43:03 -0600
Subject: [LLVMbugs] [Bug 3411] ice: Invalid node ID for RAUW analysis!
In-Reply-To:
Message-ID: <200902031043.n13Ah3iY026759@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3411
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #1 from Duncan Sands 2009-02-03 04:42:54 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073171.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 07:43:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 07:43:48 -0600
Subject: [LLVMbugs] [Bug 3468] New: instcombine crash on x86-32 long double
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3468
Summary: instcombine crash on x86-32 long double
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
This breaks the Ada build just in time for the release!
Run opt -instcombine on the following testcase to see a
crash in the constant folder:
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i386-pc-linux-gnu"
define x86_fp80 @ada__numerics__aux__tanh(x86_fp80 %x) readnone {
entry:
%0 = call x86_fp80 @fabsl(x86_fp80 %x) nounwind readnone
; [#uses=1]
%1 = fcmp ogt x86_fp80 %0, 0xK4003B800000000000000 ;
[#uses=1]
br i1 %1, label %bb, label %bb4
bb: ; preds = %entry
%2 = bitcast i80 0 to x86_fp80 ; [#uses=1]
%3 = call x86_fp80
@system__fat_llf__attr_long_long_float__copy_sign(x86_fp80 %2, x86_fp80
0xK00000000000000000000) readnone ; [#uses=1]
ret x86_fp80 %3
bb4: ; preds = %entry
ret x86_fp80 0xK00000000000000000000
}
declare x86_fp80 @fabsl(x86_fp80) nounwind readnone
declare x86_fp80 @system__fat_llf__attr_long_long_float__copy_sign(x86_fp80,
x86_fp80) readnone
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 11:52:34 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 11:52:34 -0600
Subject: [LLVMbugs] [Bug 3471] New: fails to compile tinycc from valgrind
tests: truction*): Assertion `S1->getType() == S2->getType() && "
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3471
Summary: fails to compile tinycc from valgrind tests: truction*):
Assertion `S1->getType() == S2->getType() && "
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Using SVN r63539:
/home/edwin/llvm-bootstrap/install/bin/llc bugpoint-reduced-simplified.bc
llc: /home/edwin/llvm-bootstrap/llvm/lib/VMCore/Instructions.cpp:1575: static
llvm::BinaryOperator*
llvm::BinaryOperator::Create(llvm::Instruction::BinaryOps, llvm::Value*,
llvm::Value*, const std::string&, llvm::Instruction*): Assertion `S1->getType()
== S2->getType() && "Cannot create binary operator with two operands of
differing type!"' failed.
0 llc 0x0000000000c84fbf
1 libc.so.6 0x00007fa33853df60
2 libc.so.6 0x00007fa33853ded5 gsignal + 53
3 libc.so.6 0x00007fa33853f3f3 abort + 387
4 libc.so.6 0x00007fa338536dc9 __assert_fail + 233
5 llc 0x0000000000c04722
6 llc 0x0000000000ba5c12
llvm::SCEVExpander::InsertBinop(llvm::Instruction::BinaryOps, llvm::Value*,
llvm::Value*, llvm::Instruction*) + 386
7 llc 0x0000000000ba66f0
llvm::SCEVExpander::visitAddExpr(llvm::SCEVAddExpr*) + 176
8 llc 0x0000000000ba6590 llvm::SCEVExpander::expand(llvm::SCEV*) + 176
9 llc 0x0000000000ba74b5
llvm::SCEVExpander::visitMulExpr(llvm::SCEVMulExpr*) + 213
10 llc 0x0000000000ba6590 llvm::SCEVExpander::expand(llvm::SCEV*) + 176
11 llc 0x0000000000b3504a
12 llc 0x0000000000b373db
13 llc 0x0000000000b3caf7
14 llc 0x0000000000b3ee88
15 llc 0x0000000000b889fb
llvm::LPPassManager::runOnFunction(llvm::Function&) + 955
16 llc 0x0000000000c2026b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 347
17 llc 0x0000000000c20666
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 134
18 llc 0x0000000000c207ee
llvm::FunctionPassManager::run(llvm::Function&) + 62
19 llc 0x00000000004fe5d1 main + 4193
20 libc.so.6 0x00007fa33852a1a6 __libc_start_main + 230
21 llc 0x00000000004fcac9
Aborted
Testcase:
; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
target triple = "x86_64-unknown-linux-gnu"
define void @parse_number(i8* nocapture %p) nounwind {
entry:
%shift.0 = select i1 false, i32 4, i32 2 ;
[#uses=1]
br label %bb47
bb47: ; preds = %bb47, %entry
br i1 false, label %bb54, label %bb47
bb54: ; preds = %bb47
br i1 false, label %bb56, label %bb66
bb56: ; preds = %bb62, %bb54
%p_addr.0.pn.rec = phi i64 [ %p_addr.6.rec, %bb62 ], [ 0, %bb54 ]
; [#uses=2]
%ch.6.in.in = phi i8* [ %p_addr.6, %bb62 ], [ null, %bb54 ]
; [#uses=0]
%indvar202 = trunc i64 %p_addr.0.pn.rec to i32 ;
[#uses=1]
%frac_bits.0 = mul i32 %indvar202, %shift.0 ;
[#uses=1]
%p_addr.6.rec = add i64 %p_addr.0.pn.rec, 1 ;
[#uses=2]
%p_addr.6 = getelementptr i8* null, i64 %p_addr.6.rec ;
[#uses=1]
br i1 false, label %bb66, label %bb62
bb62: ; preds = %bb56
br label %bb56
bb66: ; preds = %bb56, %bb54
%frac_bits.1 = phi i32 [ 0, %bb54 ], [ %frac_bits.0, %bb56 ]
; [#uses=0]
unreachable
}
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 12:11:12 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 12:11:12 -0600
Subject: [LLVMbugs] [Bug 3472] New: GVN creates code that is rejected by llc
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3472
Summary: GVN creates code that is rejected by llc
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2493)
--> (http://llvm.org/bugs/attachment.cgi?id=2493)
"opt -gvn | llc" to reproduce
Using SVN r63539:
This works:
/home/edwin/llvm-bootstrap/install/bin/llc bugpoint-tooptimize.bc -f
This doesn't:
/home/edwin/llvm-bootstrap/install/bin/opt -gvn
bugpoint-tooptimize.bc|/home/edwin/llvm-bootstrap/install/bin/llc
llc: /home/edwin/llvm-bootstrap/llvm/lib/Target/X86/X86FloatingPoint.cpp:985:
void::FPS::handleSpecialFP(llvm::ilist_iterator&):
Assertion `StackTop == 1 && "Stack should have one element on it to return!"'
failed.
0 llc 0x0000000000c84fbf
1 libc.so.6 0x00007f1181ae6f60
2 libc.so.6 0x00007f1181ae6ed5 gsignal + 53
3 libc.so.6 0x00007f1181ae83f3 abort + 387
4 libc.so.6 0x00007f1181adfdc9 __assert_fail + 233
5 llc 0x000000000077be36
6 llc 0x000000000077d8d9
7 llc 0x000000000077de43
8 llc 0x0000000000c2026b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 347
9 llc 0x0000000000c20666
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 134
10 llc 0x0000000000c207ee
llvm::FunctionPassManager::run(llvm::Function&) + 62
11 llc 0x00000000004fe5d1 main + 4193
12 libc.so.6 0x00007f1181ad31a6 __libc_start_main + 230
13 llc 0x00000000004fcac9
Aborted
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 12:34:29 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 12:34:29 -0600
Subject: [LLVMbugs] [Bug 2619] poor optimization in presence of bitcast'ed
pointer
In-Reply-To:
Message-ID: <200902031834.n13IYTJZ010541@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=2619
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #12 from Chris Lattner 2009-02-03 12:34:28 ---
The original example is also optimized now. I'm going to close this bug and
file a follow-on for the remaining issue.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 12:38:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 12:38:48 -0600
Subject: [LLVMbugs] [Bug 3473] New: need load/store merging in dag combine
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3473
Summary: need load/store merging in dag combine
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Keywords: code-quality
Severity: normal
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
This example:
struct s { short a, b, c, d; };
struct s foo(struct s x) {
return x;
}
compiles into:
$ llvm-gcc t.c -S -o - -O3 -fomit-frame-pointer -m32
foo:
movzwl 6(%esp), %ecx
shll $16, %ecx
movzwl 4(%esp), %eax
orl %ecx, %eax
movzwl 10(%esp), %ecx
shll $16, %ecx
movzwl 8(%esp), %edx
orl %ecx, %edx
ret
This is because the struct is passed with by-val, but then reassembled into an
i64 for returning.
%struct.s = type { i16, i16, i16, i16 }
define i64 @foo(%struct.s* nocapture byval align 4 %x) nounwind readonly {
entry:
%0 = getelementptr %struct.s* %x, i32 0, i32 0 ;
[#uses=1]
%1 = load i16* %0, align 2 ; [#uses=1]
%2 = getelementptr %struct.s* %x, i32 0, i32 1 ;
[#uses=1]
%3 = load i16* %2, align 2 ; [#uses=1]
%4 = getelementptr %struct.s* %x, i32 0, i32 2 ;
[#uses=1]
%5 = load i16* %4, align 2 ; [#uses=1]
%6 = getelementptr %struct.s* %x, i32 0, i32 3 ;
[#uses=1]
%7 = load i16* %6, align 2 ; [#uses=1]
%8 = zext i16 %1 to i64 ; [#uses=1]
%9 = zext i16 %3 to i64 ; [#uses=1]
%10 = shl i64 %9, 16 ; [#uses=1]
%11 = zext i16 %5 to i64 ; [#uses=1]
%12 = shl i64 %11, 32 ; [#uses=1]
%13 = zext i16 %7 to i64 ; [#uses=1]
%14 = shl i64 %13, 48 ; [#uses=1]
%15 = or i64 %10, %8 ; [#uses=1]
%16 = or i64 %15, %12 ; [#uses=1]
%17 = or i64 %16, %14 ; [#uses=1]
ret i64 %17
}
The code generator should merge the small loads (and similar cases with stores)
to avoid this packing logic. gcc compiles this to:
_foo:
movl 4(%esp), %eax
movl 8(%esp), %edx
ret
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 12:59:35 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 12:59:35 -0600
Subject: [LLVMbugs] [Bug 3474] New: x86-32: clang could avoid byval in more
cases
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3474
Summary: x86-32: clang could avoid byval in more cases
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
clang currently passes some structures byval even when they will be passed in
an integer register. clang should avoid using byval in such cases to give the
LLVM optimizers the most freedom to hack on the type.
For example,
--
ddunbar at 67-218-102-230:single-args$ cat t.c
struct s { short a, b, c, d; } f0(struct s x) {
return x;
}
ddunbar at 67-218-102-230:single-args$ xcc -emit-llvm -S -o - t.c -m32
; ModuleID = 't.c'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
target triple = "i386-apple-darwin10.0"
%struct.s = type <{ i16, i16, i16, i16 }>
define i64 @f0(%struct.s* byval %x) nounwind {
entry:
%retval = alloca %struct.s ; <%struct.s*> [#uses=2]
%tmp = bitcast %struct.s* %retval to i8* ;
[#uses=1]
%tmp1 = bitcast %struct.s* %x to i8* ; [#uses=1]
call void @llvm.memmove.i32(i8* %tmp, i8* %tmp1, i32 8, i32 2)
%0 = bitcast %struct.s* %retval to i64* ; [#uses=1]
%1 = load i64* %0 ; [#uses=1]
ret i64 %1
}
declare void @llvm.memmove.i32(i8* nocapture, i8* nocapture, i32, i32) nounwind
--
This should be easy to fix since return arguments already get coerced to avoid
sret.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 22:03:58 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 22:03:58 -0600
Subject: [LLVMbugs] [Bug 948] support transparent LTO on linux
In-Reply-To:
Message-ID: <200902040403.n1443wpC029982@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=948
Nick Lewycky changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Nick Lewycky 2009-02-03 22:03:53 ---
Done. Set up gold as per tools/gold/README.txt and use the llvm-gcc
-use-gold-plugin option!
Problems with the plugin should get their own bugs.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 3 22:10:00 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 3 Feb 2009 22:10:00 -0600
Subject: [LLVMbugs] [Bug 3476] New: libLTO doesn't show up in llvm-config
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3476
Summary: libLTO doesn't show up in llvm-config
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: lto
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicholas at mxc.ca
CC: llvmbugs at cs.uiuc.edu, danchr at gmail.com
I'd like tools/gold to depend on libLTO, but it can't because llvm-config
doesn't even list it.
It doesn't list it because of the name. llvm-config matches libLLVM* and LLVM*.
However, even adding libLTO* wouldn't match because libLTO isn't built until
after llvm-config. That's because -- ready for it? -- libLTO has a list of
required llvm-config components.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 04:19:05 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 04:19:05 -0600
Subject: [LLVMbugs] [Bug 3468] instcombine crash on x86-32 long double
In-Reply-To:
Message-ID: <200902041019.n14AJ5bc020637@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3468
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Duncan Sands 2009-02-04 04:19:02 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20020902/date.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 10:56:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 10:56:06 -0600
Subject: [LLVMbugs] [Bug 3477] New: On 64-bit platform,
clang uses wrong integer types
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3477
Summary: On 64-bit platform, clang uses wrong integer types
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: salimma at fedoraproject.org
CC: llvmbugs at cs.uiuc.edu
Compiling on Fedora (Rawhide), x86_64
Using clang revision 63734, with following test code:
int main() {
return 7
}
clang translates int to i64, rather than i32. clang -emit-llvm works, as well
as -emit-llvm-bc, but the generated code cannot be executed (using lli) because
main is expected to be i32, even on x86_64.
An earlier build of clang from a few months ago correctly uses i32 rather than
i64.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 11:48:32 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 11:48:32 -0600
Subject: [LLVMbugs] [Bug 3477] On 64-bit platform,
clang uses wrong integer types
In-Reply-To:
Message-ID: <200902041748.n14HmWlV007823@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3477
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2009-02-04 11:48:31 ---
Fixed:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073247.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 12:50:16 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 12:50:16 -0600
Subject: [LLVMbugs] [Bug 3137] local declaration incorrectly invalidates
global declaration
In-Reply-To:
Message-ID: <200902041850.n14IoG1I012392@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3137
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sharparrow1 at yahoo.com
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #2 from Eli Friedman 2009-02-04 12:50:16 ---
Appears to work with trunk clang. Testcase committed in r63749.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 13:45:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 13:45:26 -0600
Subject: [LLVMbugs] [Bug 3464] clang doesn't search current directory for
-include
In-Reply-To:
Message-ID: <200902041945.n14JjQ0f015518@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3464
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2009-02-04 13:45:26 ---
Fixed, thanks
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090202/011764.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 15:07:03 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 15:07:03 -0600
Subject: [LLVMbugs] [Bug 3464] clang doesn't search current directory for
-include
In-Reply-To:
Message-ID: <200902042107.n14L734o018069@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3464
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #3 from Daniel Dunbar 2009-02-04 15:07:02 ---
The directory search is not relative to the correct location:
--
ddunbar at milton:tmp$ mkdir x
ddunbar at milton:tmp$ touch x/a.h
ddunbar at milton:tmp$ mkdir y
ddunbar at milton:tmp$ touch y/a.c
ddunbar at milton:tmp$ gcc -fsyntax-only -include x/a.h y/a.c
ddunbar at milton:tmp$ clang -fsyntax-only -include x/a.h y/a.c
:90:10: error: 'x/a.h' file not found
#include "x/a.h"
^
1 diagnostic generated.
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 16:36:07 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 16:36:07 -0600
Subject: [LLVMbugs] [Bug 3467] ssertion failed: ((NumParams ==
FTy->getNumParams() || (FTy-> isVarArg() && NumParams >
FTy->getNumParams())) && " Calling a function with bad signature!"),
function init, file Instructions. cpp, line 290.
In-Reply-To:
Message-ID: <200902042236.n14Ma7YK020894@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3467
Roman Divacky changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Roman Divacky 2009-02-04 16:36:07 ---
seems to be fixed
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 17:23:30 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 17:23:30 -0600
Subject: [LLVMbugs] [Bug 3478] New: raw_ostream should not buffer stderr
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3478
Summary: raw_ostream should not buffer stderr
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
EOM.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 20:18:40 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 20:18:40 -0600
Subject: [LLVMbugs] [Bug 3479] New: MultiSource/Applications/sqlite3 uses
system sqlite3.h
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3479
Summary: MultiSource/Applications/sqlite3 uses system sqlite3.h
Product: Test Suite
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Programs Tests
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
The test should be self contained and not require an installed sqlite3.h
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 20:25:32 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 20:25:32 -0600
Subject: [LLVMbugs] [Bug 3480] New: clang miscompiles
MultiSource/Applications/oggenc?
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3480
Summary: clang miscompiles MultiSource/Applications/oggenc?
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
MultiSource/Applications/oggenc from the test suite fails on Linux x86-32 and
Darwin x86-64.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 21:18:32 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 21:18:32 -0600
Subject: [LLVMbugs] [Bug 3481] New: clang miscompiles
MultiSource/Benchmarks/Prolangs-C/cdecl
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3481
Summary: clang miscompiles MultiSource/Benchmarks/Prolangs-
C/cdecl
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
The assembler warnings are suspicious, and the executable crashes on the test
input:
--
ddunbar at frank:cdecl$ CCC_ADD_ARGS=-ccc-echo make LLVMGXX=false LLVMGCC="$(which
xcc) -std=gnu89 -m32" TEST=nightly DISABLE_CBE=1 DISABLE_JIT=1 report
make -j1 TEST=nightly 2>&1 | tee report.nightly.raw.out
make[1]: Entering directory
`/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl'
Compiling cdecl.c to Output/cdecl.bc
xcc: Unknown host 'linux', using generic host information.
clang -emit-llvm-bc --disable-fp-elim --nozero-initialized-in-bss -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -DNDEBUG -D__NO_MATH_INLINES
-I/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl
-I/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl
-I/home/ddunbar/llvm/include -I/home/ddunbar/llvm/projects/test-suite/include
-I../../../../include -I/home/ddunbar/llvm/include -O0 -std=gnu89 -o
Output/cdecl.bc -x c cdecl.c
cdecl.c:564:20: warning: format string is not a string literal (potentially
insecure)
(void) printf(fmt, p->cpptext);
^~~
cdecl.c:566:20: warning: format string is not a string literal (potentially
insecure)
(void) printf(fmt, p->text);
^~~
2 diagnostics generated.
/home/ddunbar/llvm/Debug/bin/llvm-ld -link-as-library -disable-opt
Output/cdecl.bc -o Output/cdecl.linked.rbc
/home/ddunbar/llvm/Debug/bin/opt -std-compile-opts
-info-output-file=/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl/Output/cdecl.linked.bc.info
-stats -time-passes Output/cdecl.linked.rbc -o Output/cdecl.linked.bc -f
/home/ddunbar/llvm/Debug/bin/llvm-ld
-L/data/public/llvm/llvm-gcc4.2-2.2-x86-linux-RHEL4/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1
-L/data/public/llvm/llvm-gcc4.2-2.2-x86-linux-RHEL4/bin/../lib
-info-output-file=/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl/Output/cdecl.llvm.bc.info
-stats -time-passes Output/cdecl.linked.bc \
-lc -o Output/cdecl.llvm
gcc
-I/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl
-I/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl
-I/home/ddunbar/llvm/include -I/home/ddunbar/llvm/projects/test-suite/include
-I../../../../include -I/home/ddunbar/llvm/include -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -DNDEBUG -D__NO_MATH_INLINES -O3 -c cdecl.c -o
Output/cdecl.o
g++ -o Output/cdecl.native Output/cdecl.o
/home/ddunbar/llvm/projects/test-suite/RunSafely.sh 500 0
/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl/testset
Output/cdecl.out-nat Output/cdecl.native
ulimit -t 500; ulimit -c unlimited; ulimit -f 10485760; ulimit -v 300000; time
-p sh -c 'Output/cdecl.native >Output/cdecl.out-nat 2>&1 <
/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl/testset;
echo exit $?'
grep "^program" Output/cdecl.out-nat.time >>
Output/cdecl.nightly.nat.report.txt
/home/ddunbar/llvm/Debug/bin/llc -f Output/cdecl.llvm.bc -o Output/cdecl.llc.s
gcc Output/cdecl.llc.s -o Output/cdecl.llc -lm
Output/cdecl.llc.s: Assembler messages:
Output/cdecl.llc.s:6692: Warning: right operand is a bignum; integer 0 assumed
Output/cdecl.llc.s:6695: Warning: right operand is a bignum; integer 0 assumed
Output/cdecl.llc.s:6707: Warning: right operand is a bignum; integer 0 assumed
Output/cdecl.llc.s:6782: Warning: right operand is a bignum; integer 0 assumed
/home/ddunbar/llvm/projects/test-suite/RunSafely.sh 500 0
/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl/testset
Output/cdecl.out-llc Output/cdecl.llc
ulimit -t 500; ulimit -c unlimited; ulimit -f 10485760; ulimit -v 300000; time
-p sh -c 'Output/cdecl.llc >Output/cdecl.out-llc 2>&1 <
/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl/testset;
echo exit $?'
TEST Output/cdecl.llc FAILED: process terminated by signal (exit status 139)!
warning: Can't read pathname for load map: Input/output error.
Core was generated by `Output/cdecl.llc'.
Program terminated with signal 11, Segmentation fault.
[New process 17678]
#0 0x400c5c70 in putc () from /lib/i686/cmov/libc.so.6
#0 0x400c5c70 in putc () from /lib/i686/cmov/libc.so.6
#1 0x0804aff8 in yylex ()
#2 0x00000000 in ?? ()
/home/ddunbar/llvm/projects/test-suite/DiffOutput.sh
"/home/ddunbar/llvm/Debug/bin/fpcmp " llc cdecl
******************** TEST (llc) 'cdecl' FAILED! ********************
Execution Context Diff:
/home/ddunbar/llvm/Debug/bin/fpcmp: FP Comparison failed, not a numeric
difference between 'W' and 'e'
******************** TEST (llc) 'cdecl' ****************************
rm -f Output/cdecl.exe-llc
cp Output/cdecl.diff-llc Output/cdecl.exe-llc
cp: cannot stat `Output/cdecl.diff-llc': No such file or directory
make[1]: [Output/cdecl.exe-llc] Error 1 (ignored)
head -n 100 Output/cdecl.exe-llc >> Output/cdecl.nightly.llc.report.txt
head: cannot open `Output/cdecl.exe-llc' for reading: No such file or directory
make[1]: [Output/cdecl.nightly.llc.report.txt] Error 1 (ignored)
cat Output/cdecl.nightly.compile.report.txt Output/cdecl.nightly.nat.report.txt
Output/cdecl.nightly.llc.report.txt > Output/cdecl.nightly.report.txt
---------------------------------------------------------------
>>> ========= '/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl' Program
---------------------------------------------------------------
TEST-PASS: compile
/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl
TEST-RESULT-compile: Total Execution Time: 0.7240 seconds (0.6941 wall clock)
TEST-RESULT-compile: 65872 Output/cdecl.llvm.bc
TEST-RESULT-nat-time: program 0.000000
TEST-FAIL: llc
/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl/cdecl
make[1]: Leaving directory
`/home/ddunbar/llvm.trunk/projects/test-suite/MultiSource/Benchmarks/Prolangs-C/cdecl'
/home/ddunbar/llvm/projects/test-suite/GenerateReport.pl
/home/ddunbar/llvm/projects/test-suite/TEST.nightly.report <
report.nightly.raw.out > report.nightly.txt
Program | GCCAS Bytecode LLC compile LLC-BETA compile JIT codegen | GCC
CBE LLC LLC-BETA JIT | GCC/CBE GCC/LLC GCC/LLC-BETA LLC/LLC-BETA
cdecl | 0.7240 65872 * * * | 0.00 *
* * * | n/a n/a n/a n/a
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 21:20:44 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 21:20:44 -0600
Subject: [LLVMbugs] [Bug 3482] New: clang miscompiles
MultiSource/Benchmarks/VersaBench/bmm
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3482
Summary: clang miscompiles MultiSource/Benchmarks/VersaBench/bmm
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
ddunbar at frank:bmm$ diff Output/bmm.out-???
1c1
< final sum = 2455048192.000000
---
> final sum = 2455048048.000000
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 21:25:20 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 21:25:20 -0600
Subject: [LLVMbugs] [Bug 3483] New: clang miscompiles
MultiSource/Benchmarks/VersaBench/dbms
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3483
Summary: clang miscompiles MultiSource/Benchmarks/VersaBench/dbms
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
213d212
< -1.33360001e+02 5.53799988e+02 6.47020020e+02 -8.72010010e+02 -1.16279999e+02
5.54799988e+02 6.48020020e+02 -8.59599976e+02 bjJiI VjKj pemwS85R yzm3 1se3
hPkDvTZR hA1D Lk4U 9LlZy2S Kedb whps RnI2JyaPs quRs0w6 q7wgvh1Bp yA3vk40 iAMep
Uqd0GpqOG IhQQDB BQVpW keJCDou Do8G 8gOI KYbVoCG FBIJ iBQ0xjfUF kKeW RBNY
y31Dz2F7l v4mSatL DLNhNvB Jw21rA OUGZ kVoHzy3d u5m1n3U 3HOSuw 5VuWD l5mb UFHN
6Vap X2Ld ctx26bHh kdZk NH6d
214a214
> -1.33360001e+02 5.53799988e+02 6.47020020e+02 -8.72010010e+02 -1.16279999e+02 5.54799988e+02 6.48020020e+02 -8.59599976e+02 bjJiI VjKj pemwS85R yzm3 1se3 hPkDvTZR hA1D Lk4U 9LlZy2S Kedb whps RnI2JyaPs quRs0w6 q7wgvh1Bp yA3vk40 iAMep Uqd0GpqOG IhQQDB BQVpW keJCDou Do8G 8gOI KYbVoCG FBIJ iBQ0xjfUF kKeW RBNY y31Dz2F7l v4mSatL DLNhNvB Jw21rA OUGZ kVoHzy3d u5m1n3U 3HOSuw 5VuWD l5mb UFHN 6Vap X2Ld ctx26bHh kdZk NH6d
(two results are transposed)
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 21:26:34 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 21:26:34 -0600
Subject: [LLVMbugs] [Bug 3484] New: test-suite should support building only
C/ObjC programs
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3484
Summary: test-suite should support building only C/ObjC programs
Product: Test Suite
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Programs Tests
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
This is useful for testing clang, and it will be a while before we care about
our C++ codegen support.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 21:31:09 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 21:31:09 -0600
Subject: [LLVMbugs] [Bug 3485] New: byval attribute should document option
alignment
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3485
Summary: byval attribute should document option alignment
Product: Documentation
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: General docs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
The byval attribute for arguments supports an alignment, this should be
documented in the language reference manual.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 21:48:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 21:48:06 -0600
Subject: [LLVMbugs] [Bug 3486] New: null ptr deref in
llvm::SimpleRegisterCoalescing:: JoinIntervals(llvm::LiveInterval&,
llvm::LiveInterval&, bool&)
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3486
Summary: null ptr deref in
llvm::SimpleRegisterCoalescing::JoinIntervals(llvm::Live
Interval&, llvm::LiveInterval&, bool&)
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: regehr at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu
Seen using r63800 on Ubuntu Hardy on x86.
regehr at john-home:~/volatile/tmp136$ llvm-gcc -O3 small.c
small.c:21: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
regehr at john-home:~/volatile/tmp136$ cat small.c
short bar (short x, short y)
{
return -32767 - 1 && y ? x : (x / y);
}
int g_95;
int baz (int);
int foo (char p_26)
{
if (p_26 == !p_26)
{
p_26 = bar (0 >= (baz (1) && p_26), p_26);
return p_26;
}
for (1; g_95; 1)
{
}
return 0;
}
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 22:37:29 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 22:37:29 -0600
Subject: [LLVMbugs] [Bug 3487] New: googletest should not be compiled by
default
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3487
Summary: googletest should not be compiled by default
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tonic at nondot.org
CC: llvmbugs at cs.uiuc.edu
googletest requires a gcc 4.X which limits the versions of gcc that can be used
to compile llvm. We should still allow users to use 3.X because many version of
4.X don't work.
We should disable building googletest by default or have configure check for
what version of gcc you have.
For 2.5, I have to hack this out.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 23:38:40 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 23:38:40 -0600
Subject: [LLVMbugs] [Bug 3479] MultiSource/Applications/sqlite3 uses system
sqlite3.h
In-Reply-To:
Message-ID: <200902050538.n155ceer002997@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3479
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-02-04 23:38:40 ---
Fixed in r63835
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 4 23:42:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 4 Feb 2009 23:42:48 -0600
Subject: [LLVMbugs] [Bug 3485] byval attribute should document optional
alignment
In-Reply-To:
Message-ID: <200902050542.n155gmMS006428@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3485
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-02-04 23:42:48 ---
Ok, fine:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073311.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 00:56:47 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 00:56:47 -0600
Subject: [LLVMbugs] [Bug 3481] clang miscompiles Benchmarks/Prolangs-C/cdecl
on x86-32
In-Reply-To:
Message-ID: <200902050656.n156ulC4027260@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3481
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|clang miscompiles |clang miscompiles
|MultiSource/Benchmarks/Prola|Benchmarks/Prolangs-C/cdecl
|ngs-C/cdecl |on x86-32
--- Comment #6 from Chris Lattner 2009-02-05 00:56:47 ---
Fixed here, please verify:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073315.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 04:20:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 04:20:36 -0600
Subject: [LLVMbugs] [Bug 3488] New: llvm-ar r doesn't replace existing files
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3488
Summary: llvm-ar r doesn't replace existing files
Product: tools
Version: 2.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: llvm-ar
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jay.foad at antixlabs.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2499)
--> (http://llvm.org/bugs/attachment.cgi?id=2499)
suggested fix
When llvm-ar is used with the "r" option to insert/replace files in an archive,
it only works if the files aren't in the archive already.
If the files are in the archive, they never seem to get updated.
You can see this by using "llvm-ar tv libname.a" which shows the timestamps of
the files in the archive. Try doing "llvm-ar crs libname.a somefile.o", touch
somefile.o, rerun the previous command and then look at the timestamps.
This seems to be due to a simple typo in doReplaceOrInsert() in
tools/llvm-ar/llvm-ar.cpp. Patch attached.
(Bug report and patch courtesy of Daniel Shelton.)
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 04:53:02 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 04:53:02 -0600
Subject: [LLVMbugs] [Bug 3489] New: misoptimization in presence of
bitcast/memcpy
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3489
Summary: misoptimization in presence of bitcast/memcpy
Product: new-bugs
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2500)
--> (http://llvm.org/bugs/attachment.cgi?id=2500)
input C file
The attached code is being misoptimized by LLVM; I suspect the problem is in
the constant folding of values accessed through the bitcast/memcpy done for ABI
purposes:
--
ddunbar at milton:CodeGen$ xcc -arch x86_64 -O0 bad.c -emit-llvm -o bad.bc
ddunbar at milton:CodeGen$ llc < bad.bc | gcc -x assembler -
ddunbar at milton:CodeGen$ ./a.out; echo $?
0
ddunbar at milton:CodeGen$ opt -std-compile-opts < bad.bc | llc | gcc -x assembler
-
ddunbar at milton:CodeGen$ ./a.out; echo $?
48
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 07:29:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 07:29:06 -0600
Subject: [LLVMbugs] [Bug 3490] New: (Partial) Loop unrolling calls
setSuccessor with NULL
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3490
Summary: (Partial) Loop unrolling calls setSuccessor with NULL
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: ggreif at gmail.com
CC: ggreif at gmail.com, llvmbugs at cs.uiuc.edu
There seem to be a bug with partial loop unrolling. I have patched
BranchInst::setSuccessor(indx, NewSucc) to assert if NewSucc is NULL:
assert(NewSucc && "setting NULL successor?")
When running
Release/bin/opt -debug -loop-unroll llvm/test/Transforms/LoopUnroll/partial.bc
-o llvm/test/Transforms/LoopUnroll/partial.bc2 -f -unroll-allow-partial
I get:
Loop Unroll: F[main] Loop %no_exit
Loop Size = 2
Too large to fully unroll with count: 100 because size: 200>100
partially unrolling with count: 50
Trip Count = 100
UNROLLING loop %no_exit by 50 with a breakout at trip 0!
/Users/ggreif/llvm/include/llvm/Instructions.h:2194: failed assertion `NewSucc
&& "setting NULL successor?"'
Program received signal SIGABRT, Aborted.
0x9003d1ac in kill ()
(gdb) bt
#0 0x9003d1ac in kill ()
#1 0x9010e8cf in raise ()
#2 0x9010d422 in abort ()
#3 0x002a3cfa in __eprintf () at ValueSymbolTable.cpp:83
#4 0x00228e30 in llvm::BranchInst::setSuccessorV () at InlineAsm.cpp:44
#5 0x0011e0a2 in llvm::UnrollLoop () at TailRecursionElimination.cpp:86
#6 0x000b7189 in (anonymous namespace)::LoopUnroll::runOnLoop (this=0x2b03330,
L=0x2b04f40, LPM=@0x2b042a0) at LoopUnroll.cpp:169
#7 0x001631a4 in llvm::LPPassManager::runOnFunction () at
TailRecursionElimination.cpp:86
#8 0x0023e84d in llvm::FPPassManager::runOnFunction () at Pass.cpp:256
#9 0x0023ebc9 in llvm::FPPassManager::runOnModule () at Pass.cpp:256
#10 0x0023f24d in llvm::MPPassManager::runOnModule () at Pass.cpp:256
#11 0x0023f55d in llvm::PassManagerImpl::run () at Pass.cpp:256
#12 0x0023f5f7 in llvm::PassManager::run () at Pass.cpp:256
#13 0x00004dbf in main ()
I do not think that calling setSuccessor with NULL is permissible.
I can dive into this, but it is not my area of experience.
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 07:43:32 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 07:43:32 -0600
Subject: [LLVMbugs] [Bug 3491] New: ssertion failed: (S1->getType() ==
S2->getType() && " Cannot create binary operator with two operands of
differing type!"), function Create, file Instructions.cpp, line 1575.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3491
Summary: ssertion failed: (S1->getType() == S2->getType() &&
"Cannot create binary operator with two operands of
differing type!"), function Create, file
Instructions.cpp, line 1575.
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
the attached produces this:
lev /tmp$ clang -emit-llvm-bc msdosfs_conv.c
....
Assertion failed: (S1->getType() == S2->getType() && "Cannot create binary
operator with two operands of differing type!"), function Create, file
Instructions.cpp, line 1575.
Abort (core dumped)
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 11:07:34 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 11:07:34 -0600
Subject: [LLVMbugs] [Bug 3492] New: stop parsing after #include failures
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3492
Summary: stop parsing after #include failures
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
By default, clang should stop parsing (but continue preprocessing) after
#include failures. I don't see a good convincing reason to not do this, and the
current output is rarely useful. This can be especially bad for C++.
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 11:15:37 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 11:15:37 -0600
Subject: [LLVMbugs] [Bug 3491] ssertion failed: (S1->getType() ==
S2->getType() && " Cannot create binary operator with two operands of
differing type!"), function Create, file Instructions.cpp, line 1575.
In-Reply-To:
Message-ID: <200902051715.n15HFbP2029926@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3491
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel at zuster.org
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #2 from Daniel Dunbar 2009-02-05 11:15:36 ---
I cannot reproduce this.
--
ddunbar at 67-218-109-155:~$ svn info ~/llvm/tools/clang/
Path: /Users/ddunbar/llvm/tools/clang
URL: https://ddunbar at llvm.org/svn/llvm-project/cfe/trunk
Repository Root: https://ddunbar at llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 63869
Node Kind: directory
Schedule: normal
Last Changed Author: kremenek
Last Changed Rev: 63869
Last Changed Date: 2009-02-05 07:48:51 -0800 (Thu, 05 Feb 2009)
ddunbar at 67-218-109-155:~$ clang -triple i386-unknown-freebsd7.0 -emit-llvm
/tmp/t.c
In file included from
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:1:
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:435:24:
warning: incompatible pointer types passing 'ssize_t *', expected 'size_t *'
c = unix2doschr(&un, &i, pmp);
^~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:630:10:
warning: incompatible pointer types assigning 'char [256]', expected 'u_char *'
for (np = dirbuf.d_name; unlen > 0 && len > 0;) {
^ ~~~~~~~~~~~~~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:683:24:
warning: incompatible pointer types passing 'u_int8_t [27]', expected 'char *'
mbnambuf_write(nbp, name, (wep->weCnt & 0x3f) - 1);
^~~~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:702:24:
warning: incompatible pointer types passing 'u_int8_t [27]', expected 'char *'
mbnambuf_write(nbp, name, (wep->weCnt & 0x3f) - 1);
^~~~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:721:24:
warning: incompatible pointer types passing 'u_int8_t [27]', expected 'char *'
mbnambuf_write(nbp, name, (wep->weCnt & 0x3f) - 1);
^~~~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:736:22:
warning: incompatible pointer types passing 'u_int8_t [27]', expected 'char *'
mbnambuf_write(nbp, name, (wep->weCnt & 0x3f) - 1);
^~~~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:819:3:
error: cannot codegen this return inside scope with VLA yet
return (inlen);
^~~~~~~~~~~~~~
/data/home/rdivacky/freebsd/sys/modules/msdosfs/../../fs/msdosfs/msdosfs_conv.c:823:2:
error: cannot codegen this return inside scope with VLA yet
return (inlen - min(inlen, outlen));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 diagnostics generated.
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 11:22:24 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 11:22:24 -0600
Subject: [LLVMbugs] [Bug 3491] ssertion failed: (S1->getType() ==
S2->getType() && " Cannot create binary operator with two operands of
differing type!"), function Create, file Instructions.cpp, line 1575.
In-Reply-To:
Message-ID: <200902051722.n15HMOho030199@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3491
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 11:59:01 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 11:59:01 -0600
Subject: [LLVMbugs] [Bug 3488] llvm-ar r doesn't replace existing files
In-Reply-To:
Message-ID: <200902051759.n15Hx1vI031397@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3488
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-02-05 11:59:00 ---
Applied, thanks!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073331.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 15:52:34 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 15:52:34 -0600
Subject: [LLVMbugs] [Bug 3491] ssertion failed: (S1->getType() ==
S2->getType() && " Cannot create binary operator with two operands of
differing type!"), function Create, file Instructions.cpp, line 1575.
In-Reply-To:
Message-ID: <200902052152.n15LqYkY007505@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3491
Roman Divacky changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Roman Divacky 2009-02-05 15:52:33 ---
fixed in r63879
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 22:17:19 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 22:17:19 -0600
Subject: [LLVMbugs] [Bug 3492] #include failures should be a fatal error
In-Reply-To:
Message-ID: <200902060417.n164HJgt022399@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3492
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2009-02-05 22:17:18 ---
Done with several patches leading up to:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090202/011847.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 22:34:30 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 22:34:30 -0600
Subject: [LLVMbugs] [Bug 3489] misoptimization in presence of bitcast/memcpy
In-Reply-To:
Message-ID: <200902060434.n164YUYV022972@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3489
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Chris Lattner 2009-02-05 22:34:30 ---
phixed, thanks!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073363.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 5 23:49:05 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 5 Feb 2009 23:49:05 -0600
Subject: [LLVMbugs] [Bug 3494] New: assertion thrown in codegen of debug
info "Multiple main"
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3494
Summary: assertion thrown in codegen of debug info "Multiple
main"
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicholas at mxc.ca
CC: dpatel at apple.com, llvmbugs at cs.uiuc.edu
Created an attachment (id=2503)
--> (http://llvm.org/bugs/attachment.cgi?id=2503)
testcase
When building these with LLVMgold:
$ cat test.c
extern int foo(void);
int main (void) {
return foo();
}
$ cat test2.c
int foo (void) {
return 0;
}
we get an assertion failure. Note that there's only one main.
$ llc linked.bc
llc: DwarfWriter.cpp:2786: void llvm::DwarfDebug::ConstructCompileUnits():
Assertion `!MainCU && "Multiple main compile units are found!"' failed.
[New Thread 0xf7c296c0 (LWP 23830)]
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xf7c296c0 (LWP 23830)]
0xffffe425 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe425 in __kernel_vsyscall ()
#1 0xf7c56640 in raise () from /lib/i686/cmov/libc.so.6
#2 0xf7c58018 in abort () from /lib/i686/cmov/libc.so.6
#3 0xf7c4f5be in __assert_fail () from /lib/i686/cmov/libc.so.6
#4 0x08a9412a in llvm::DwarfDebug::ConstructCompileUnits (this=0x8f983a8)
at DwarfWriter.cpp:2786
#5 0x08a946e5 in llvm::DwarfDebug::SetDebugInfo (this=0x8f983a8,
mmi=0x8f94a88) at DwarfWriter.cpp:2893
#6 0x08a729a0 in llvm::DwarfWriter::BeginModule (this=0x8f8c1d0, M=0x8f73840,
MMI=0x8f94a88, OS=@0x8f786b8, A=0x8f965b0, T=0x8f7e028)
at DwarfWriter.cpp:4233
#7 0x0872868b in llvm::X86ATTAsmPrinter::doInitialization (this=0x8f965b0,
M=@0x8f73840) at X86ATTAsmPrinter.cpp:742
#8 0x08cdbe0c in llvm::FPPassManager::doInitialization (this=0x8f76f68,
M=@0x8f73840) at PassManager.cpp:1356
#9 0x08cdc043 in llvm::FunctionPassManagerImpl::doInitialization (
this=0x8f74138, M=@0x8f73840) at PassManager.cpp:1250
#10 0x08cd2d54 in llvm::FunctionPassManager::doInitialization (this=0xffe2c5b8)
at PassManager.cpp:1233
#11 0x08414c01 in main (argc=2, argv=0xffe2c6d4) at llc.cpp:311
The intermediate result is 'linked.bc' attached. I've decided not to bugpoint
it in case that discards useful information. (Is the .bc bad? Or is it a bug in
dwarf emission?)
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Feb 6 02:36:30 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 6 Feb 2009 02:36:30 -0600
Subject: [LLVMbugs] [Bug 3495] New: LocalSpiller:: RewriteMBB does not
propagate the information about AvailableSpills between MBBs
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3495
Summary: LocalSpiller::RewriteMBB does not propagate the
information about AvailableSpills between MBBs
Product: libraries
Version: trunk
Platform: All
URL: http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-
February/019976.html
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Register Allocator
AssignedTo: unassignedbugs at nondot.org
ReportedBy: romixlev at yahoo.com
CC: llvmbugs at cs.uiuc.edu
LocalSpiller::RewriteMBB seems not to propagate the information
about e.g. Spills between MBBs.In many cases, where MBB B1 has only
one predecessor MBB B2, B1 could reuse the information about the
physical registers that are in the live-out set of B2. This could help
to e.g. eliminate some useless reloads from spill slots, if the value
is available on the required physical register already. For example,
in the example below, the marked "movl 12(%esp), %ecx" instruction
could be eliminated.
.LBB2_2: # bb31
movl 12(%esp), %ecx
movl 8(%esp), %eax
cmpl $0, up+28(%eax,%ecx,4)
je .LBB2_9 # bb569
.LBB2_3: # bb41 ; <--- bb31 is the only predecessor of bb41
movl 12(%esp), %ecx ; <--- This could be eliminated!!!
movl 4(%esp), %eax
cmpl $0, down(%eax,%ecx,4)
je .LBB2_9 # bb569
It is also worth mentioning, that currently reloads from spill slots
are not recorded in the Spills set using the addAvailable method, as
far as I can see. Wouldn't it make sense?
I have the feeling that these improvements are rather easy to achieve
and would not require too much changes to the LocalSpiller. Probably,
we just need to keep the live-out set of the MBB around after
rewriting it, so that its successors can use it in some cases as
initial value for the Spills set.
For more information and test-case files please see this mail-thread:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-February/019976.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Feb 6 02:42:58 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 6 Feb 2009 02:42:58 -0600
Subject: [LLVMbugs] [Bug 3496] New: LLVM misses some loop optimizations
compared to GCC
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3496
Summary: LLVM misses some loop optimizations compared to GCC
Product: libraries
Version: trunk
Platform: All
URL: http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-
February/019976.html
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: romixlev at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Moving of sub-expressions from loops and replacement of array
accesses via pointer-based induction variables is not optimal in
some situations.
Here is the code genereated by LLVM:
.LBB2_2: # bb31
movl 12(%esp), %ecx
movl 8(%esp), %eax
cmpl $0, up+28(%eax,%ecx,4)
je .LBB2_9 # bb569
.LBB2_3: # bb41 ; <--- bb31 is the only predecessor of bb41
movl 12(%esp), %ecx
movl 4(%esp), %eax
cmpl $0, down(%eax,%ecx,4)
je .LBB2_9 # bb569
In the example mentioned above, both blocks are executed inside a
loop enclosing them. And they keep evaluating e.g. the
down(%eax,%ecx,4) expression on every iteration.
GCC at the same time hoists this expression outside of the loop and replaces it
with a simple pointer, as you can see below:
.LBB2_2:
movl -32(%ebp), %edx
movl 28(%edx), %eax
testl %eax, %eax
je .L5
.LBB2_3:
movl -48(%ebp), %eax
movl (%eax), %edi
testl %edi, %edi
je .L5
For more information and test-case files please see this mail-thread:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-February/019976.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Feb 6 04:08:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 6 Feb 2009 04:08:06 -0600
Subject: [LLVMbugs] [Bug 3497] New: memory barriers not lowered correctly on
x86/x86-64
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3497
Summary: memory barriers not lowered correctly on x86/x86-64
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
__sync_synchronize is lowered to nothing on x86/x86-64, while gcc lowers it to
mfence.
Testcase:
void foo() { __sync_synchronize(); }
LLVM-IR:
; ModuleID = 'x.c'
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
target triple = "x86_64-unknown-linux-gnu"
define void @foo() nounwind {
entry:
tail call void @llvm.memory.barrier(i1 true, i1 true, i1 true, i1 true,
i1 false)
ret void
}
declare void @llvm.memory.barrier(i1, i1, i1, i1, i1) nounwind
Assembly:
foo:
nop
ret
.size foo, .-foo
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Feb 6 04:16:37 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 6 Feb 2009 04:16:37 -0600
Subject: [LLVMbugs] [Bug 3498] New: meta: __sync_fetch_ builtings not
properly lowered to LLVM IR
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3498
Summary: meta: __sync_fetch_ builtings not properly lowered to
LLVM IR
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
They currently emit only llvm.atomic.* intrinsics, but gcc defines the
semantics to also imply barriers:
"In most cases, these builtins are considered a "full barrier". That
is, no memory operand will be moved across the operation, either
forward or backward. Further, instructions will be issued as necessary
to prevent the processor from speculating loads across the operation
and from queuing stores after the operation.
All of the routines are are described in the Intel documentation to
take "an optional list of variables protected by the memory barrier".
It's not clear what is meant by that; it could mean that _only_ the
following variables are protected, or it could mean that these variables
should in addition be protected. At present GCC ignores this list and
protects all variables which are globally accessible. If in the future
we make some use of this list, an empty list will continue to mean all
globally accessible variables."
Frontend should lower them to barrier, atomic intrinsic, barrier.
Targets can then lower the barriers to NOPs if they are not needed by hardware,
but it will prevent the optimizers from moving memory operands accross.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Feb 6 18:02:55 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 6 Feb 2009 18:02:55 -0600
Subject: [LLVMbugs] [Bug 3499] New: llvmc dejagnu tests require llvm-g++ in
the path
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3499
Summary: llvmc dejagnu tests require llvm-g++ in the path
Product: tools
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: llvmc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tonic at nondot.org
CC: llvmbugs at cs.uiuc.edu
llvmc tests fail if llvm-g++ is not in your path. This should not be a
requirement and the tests should only be run if llvm-g++ exists via configure
or path.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Feb 6 21:04:59 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 6 Feb 2009 21:04:59 -0600
Subject: [LLVMbugs] [Bug 3500] New: Wrong type computed for member access to
unsigned bitfield
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3500
Summary: Wrong type computed for member access to unsigned
bitfield
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Testcase:
struct {unsigned x : 2;} x;
__typeof__(x.x+1) y;
int y;
This should compile without errors/warnings. clang gives an error; gcc accepts
it.
Standard reference: C99 6.3.1.1p2.
--
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.
From bugzilla-daemon at cs.uiuc.edu Fri Feb 6 21:41:53 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 6 Feb 2009 21:41:53 -0600
Subject: [LLVMbugs] [Bug 3501] New: clang x86-64 ABI bug with bit-fields
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3501
Summary: clang x86-64 ABI bug with bit-fields
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu, daniel at zuster.org
Testcase:
unsigned a(struct {int a : 5, b : 5;} x) { return x.a; }
gcc asm:
sall $3, %edi
sarb $3, %dil
movsbl %dil,%eax
ret
clang asm:
movl 8(%rsp), %eax
shll $27, %eax
sarl $27, %eax
ret
I know this stuff is very much in flux, but it's a relatively tricky case, so I
figured it was worth filing so it doesn't get lost.
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 00:11:46 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 00:11:46 -0600
Subject: [LLVMbugs] [Bug 1911] --enable-sinking causes crash in stackifier
In-Reply-To:
Message-ID: <200902070611.n176BkaI001950@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=1911
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Chris Lattner 2009-02-07 00:11:45 ---
works for me!
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 09:47:02 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 09:47:02 -0600
Subject: [LLVMbugs] [Bug 3502] New: Cross-compile llvm-gcc Linux x86 to
arm-linux
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3502
Summary: Cross-compile llvm-gcc Linux x86 to arm-linux
Product: tools
Version: trunk
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: kdedevel at etotheipiplusone.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2504)
--> (http://llvm.org/bugs/attachment.cgi?id=2504)
Revert some of 54175 to help ARM cross-compiler build
Hi all,
I'm quite new to this, so hopefully this is a real bug and not my fault :)
I'm trying to compile cross-compile llvm-gcc trunk for arm-linux from my
Kubuntu 8.04 x86 Linux install, and have run into many build errors, including
what appears to be an internal compiler error.
Firstly, the commit:
http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/arm.h?r1=54175&r2=54174&pathrev=54175
seems to have removed some stuff necessary for arm.c and arm.md to compile on a
non-Darwin host - in particular, the definitions of MACHO_DYNAMIC_NO_PIC_P,
ENCODED_SHORT_CALL_ATTR_P and ENCODED_LONG_CALL_ATTR_P. Reverting some of
these changes allows us to proceed (see attached patch).
After that, I ./configure llvm-gcc trunk from an obj/ subdir as follows (the
full path to this obj/ dir is
/home/kde4daily/tmp/funkytown-sdl/llvm-arm/src/llvm-gcc/obj/./gcc/xgcc) :
./configure --prefix=/home/kde4daily/tmp/funkytown-sdl/llvm-arm/install
--enable-languages=c,c++ --enable-checking --disable-bootstrap
--disable-multilib --target=arm-linux --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu
--with-build-sysroot=/home/kde4daily/tmp/funkytown-sdl/llvm-arm/install/
--with-llvm=$LLVMOBJDIR
(the same configuration, passed to stock gcc 4.2, leads to a successful cross
compilation, so I think this is llvm-gcc-specific).
Running make eventually descends into
/home/kde4daily/tmp/funkytown-sdl/llvm-arm/src/llvm-gcc/obj/gcc/ and tries to
run the "xgcc" executable that has been created on crtstuff.c and an internal
compiler error is generated. After getting the preprocessed stuff and ditching
all the -I and -D flags, I've reduced the call to the relatively
self-contained:
/home/kde4daily/tmp/funkytown-sdl/llvm-arm/src/llvm-gcc/obj/./gcc/xgcc
-B/home/kde4daily/tmp/funkytown-sdl/llvm-arm/src/llvm-gcc/obj/./gcc/ -g -O2
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -g0 -finhibit-size-directive -fno-inline-functions
-fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fPIC
-c crtstuff-preprocessed.c -o crtbeginS.o
(crtstuff-preprocessed.c is attached) and the following error is produced:
../../gcc/crtstuff.c: In function ???__do_global_dtors_aux???:
../../gcc/crtstuff.c:334: internal compiler error: in mark_jump_label, at
jump.c:1144
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
The corresponding call, adapted for cross-compilation of the stock gcc 4.2,
works without incident.
If you need any more info, please let me know :)
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 13:27:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 13:27:48 -0600
Subject: [LLVMbugs] [Bug 3503] New: cbe: emits incorrect code for
double/long double
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3503
Summary: cbe: emits incorrect code for double/long double
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
On x86-64 linux using the 2.5 prerelease branch:
$ llc -march=c x.bc
$ gcc x.cbe.c -lm
x.cbe.c:116: warning: conflicting types for built-in function ???malloc???
x.cbe.c:122: warning: conflicting types for built-in function ???powl???
x.cbe.c: In function ???foo???:
x.cbe.c:152: warning: function called through a non-compatible type
x.cbe.c:152: note: if this code is reached, the program will abort
x.cbe.c: In function ???main???:
x.cbe.c:157: warning: return type of ???main??? is not ???int???
$ ./a.out
Illegal instruction
Other backends (JIT, LLC) work just fine.
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
target triple = "x86_64-unknown-linux-gnu"
define i32 @foo(double %a) nounwind readonly {
entry:
%0 = fpext double %a to x86_fp80 ; [#uses=3]
%1 = tail call x86_fp80 @llvm.sqrt.f80(x86_fp80 %0) ;
[#uses=1]
%2 = tail call double @llvm.sqrt.f64(double %a) ;
[#uses=1]
%3 = fpext double %2 to x86_fp80 ; [#uses=1]
%4 = add x86_fp80 %1, %3 ; [#uses=1]
%5 = tail call double @llvm.pow.f64(double %a, double %a)
; [#uses=1]
%6 = fpext double %5 to x86_fp80 ; [#uses=1]
%7 = add x86_fp80 %4, %6 ; [#uses=1]
%8 = tail call x86_fp80 @llvm.pow.f80(x86_fp80 %0, x86_fp80 %0)
; [#uses=1]
%9 = add x86_fp80 %7, %8 ; [#uses=1]
%10 = fptosi x86_fp80 %9 to i32 ; [#uses=1]
ret i32 %10
}
declare x86_fp80 @llvm.sqrt.f80(x86_fp80) nounwind readonly
declare double @llvm.sqrt.f64(double) nounwind readonly
declare double @llvm.pow.f64(double, double) nounwind readonly
declare x86_fp80 @llvm.pow.f80(x86_fp80, x86_fp80) nounwind readonly
define i32 @main() nounwind readonly {
entry:
%0 = tail call i32 @foo(double 4.000000e+00) nounwind ;
[#uses=1]
ret i32 %0
Here is x.cbe.c, you'll notice that the prototype for powl is wrong,
causing gcc to emit code that will abort:
/* Provide Declarations */
#include
#include
/* get a declaration for alloca */
#if defined(__CYGWIN__) || defined(__MINGW32__)
#define alloca(x) __builtin_alloca((x))
#define _alloca(x) __builtin_alloca((x))
#elif defined(__APPLE__)
extern void *__builtin_alloca(unsigned long);
#define alloca(x) __builtin_alloca(x)
#define longjmp _longjmp
#define setjmp _setjmp
#elif defined(__sun__)
#if defined(__sparcv9)
extern void *__builtin_alloca(unsigned long);
#else
extern void *__builtin_alloca(unsigned int);
#endif
#define alloca(x) __builtin_alloca(x)
#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) ||
defined(__DragonFly__)
#define alloca(x) __builtin_alloca(x)
#elif defined(_MSC_VER)
#define inline _inline
#define alloca(x) _alloca(x)
#else
#include
#endif
#ifndef __GNUC__ /* Can only support "linkonce" vars with GCC */
#define __attribute__(X)
#endif
#if defined(__GNUC__) && defined(__APPLE_CC__)
#define __EXTERNAL_WEAK__ __attribute__((weak_import))
#elif defined(__GNUC__)
#define __EXTERNAL_WEAK__ __attribute__((weak))
#else
#define __EXTERNAL_WEAK__
#endif
#if defined(__GNUC__) && defined(__APPLE_CC__)
#define __ATTRIBUTE_WEAK__
#elif defined(__GNUC__)
#define __ATTRIBUTE_WEAK__ __attribute__((weak))
#else
#define __ATTRIBUTE_WEAK__
#endif
#if defined(__GNUC__)
#define __HIDDEN__ __attribute__((visibility("hidden")))
#endif
#ifdef __GNUC__
#define LLVM_NAN(NanStr) __builtin_nan(NanStr) /* Double */
#define LLVM_NANF(NanStr) __builtin_nanf(NanStr) /* Float */
#define LLVM_NANS(NanStr) __builtin_nans(NanStr) /* Double */
#define LLVM_NANSF(NanStr) __builtin_nansf(NanStr) /* Float */
#define LLVM_INF __builtin_inf() /* Double */
#define LLVM_INFF __builtin_inff() /* Float */
#define LLVM_PREFETCH(addr,rw,locality) __builtin_prefetch(addr,rw,locality)
#define __ATTRIBUTE_CTOR__ __attribute__((constructor))
#define __ATTRIBUTE_DTOR__ __attribute__((destructor))
#define LLVM_ASM __asm__
#else
#define LLVM_NAN(NanStr) ((double)0.0) /* Double */
#define LLVM_NANF(NanStr) 0.0F /* Float */
#define LLVM_NANS(NanStr) ((double)0.0) /* Double */
#define LLVM_NANSF(NanStr) 0.0F /* Float */
#define LLVM_INF ((double)0.0) /* Double */
#define LLVM_INFF 0.0F /* Float */
#define LLVM_PREFETCH(addr,rw,locality) /* PREFETCH */
#define __ATTRIBUTE_CTOR__
#define __ATTRIBUTE_DTOR__
#define LLVM_ASM(X)
#endif
#if __GNUC__ < 4 /* Old GCC's, or compilers not GCC */
#define __builtin_stack_save() 0 /* not implemented */
#define __builtin_stack_restore(X) /* noop */
#endif
#if __GNUC__ && __LP64__ /* 128-bit integer types */
typedef int __attribute__((mode(TI))) llvmInt128;
typedef unsigned __attribute__((mode(TI))) llvmUInt128;
#endif
#define CODE_FOR_MAIN() /* Any target-specific code for main()*/
#ifndef __cplusplus
typedef unsigned char bool;
#endif
/* Support for floating point constants */
typedef unsigned long long ConstantDoubleTy;
typedef unsigned int ConstantFloatTy;
typedef struct { unsigned long long f1; unsigned short f2; unsigned short
pad[3]; } ConstantFP80Ty;
typedef struct { unsigned long long f1; unsigned long long f2; }
ConstantFP128Ty;
/* Global Declarations */
/* Helper union for bitcasts */
typedef union {
unsigned int Int32;
unsigned long long Int64;
float Float;
double Double;
} llvmBitCastUnion;
/* Function Declarations */
double fmod(double, double);
float fmodf(float, float);
long double fmodl(long double, long double);
unsigned int foo(double llvm_cbe_a);
unsigned int main(void);
unsigned char *malloc();
void free(unsigned char *);
void abort(void);
long double sqrtl(long double );
double sqrt(double );
double pow(double , double );
double powl(double , double );
/* Function Bodies */
static inline int llvm_fcmp_ord(double X, double Y) { return X == X && Y == Y;
}
static inline int llvm_fcmp_uno(double X, double Y) { return X != X || Y != Y;
}
static inline int llvm_fcmp_ueq(double X, double Y) { return X == Y ||
llvm_fcmp_uno(X, Y); }
static inline int llvm_fcmp_une(double X, double Y) { return X != Y; }
static inline int llvm_fcmp_ult(double X, double Y) { return X < Y ||
llvm_fcmp_uno(X, Y); }
static inline int llvm_fcmp_ugt(double X, double Y) { return X > Y ||
llvm_fcmp_uno(X, Y); }
static inline int llvm_fcmp_ule(double X, double Y) { return X <= Y ||
llvm_fcmp_uno(X, Y); }
static inline int llvm_fcmp_uge(double X, double Y) { return X >= Y ||
llvm_fcmp_uno(X, Y); }
static inline int llvm_fcmp_oeq(double X, double Y) { return X == Y ; }
static inline int llvm_fcmp_one(double X, double Y) { return X != Y &&
llvm_fcmp_ord(X, Y); }
static inline int llvm_fcmp_olt(double X, double Y) { return X < Y ; }
static inline int llvm_fcmp_ogt(double X, double Y) { return X > Y ; }
static inline int llvm_fcmp_ole(double X, double Y) { return X <= Y ; }
static inline int llvm_fcmp_oge(double X, double Y) { return X >= Y ; }
unsigned int foo(double llvm_cbe_a) {
long double ltmp_0_1;
long double ltmp_1_1;
double ltmp_2_2;
double ltmp_3_2;
long double ltmp_4_1;
ltmp_0_1 = ((long double )llvm_cbe_a);
ltmp_1_1 = sqrtl(ltmp_0_1);
ltmp_2_2 = sqrt(llvm_cbe_a);
ltmp_3_2 = pow(llvm_cbe_a, llvm_cbe_a);
ltmp_4_1 = ((long double (*) (long double , long double
))(void*)powl)(ltmp_0_1, ltmp_0_1);
return (((signed int )(((ltmp_1_1 + (((long double )ltmp_2_2))) + (((long
double )ltmp_3_2))) + ltmp_4_1)));
}
unsigned int main(void) {
unsigned int ltmp_5_3;
CODE_FOR_MAIN();
ltmp_5_3 = /*tail*/ foo(0x1p+2);
return ltmp_5_3;
}
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 13:47:15 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 13:47:15 -0600
Subject: [LLVMbugs] [Bug 3504] New: [llvm2.5prerelease] tramp3d-v4 cbe
failure
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3504
Summary: [llvm2.5prerelease] tramp3d-v4 cbe failure
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Depends on: 3503
Created an attachment (id=2506)
--> (http://llvm.org/bugs/attachment.cgi?id=2506)
bugpoint.test.bc-e314SK
TEST Output/tramp3d-v4.cbe FAILED: process terminated by signal (exit status
139)!
warning: Can't read pathname for load map: Input/output error.
Core was generated by `Output/tramp3d-v4.cbe --cartvis 1.0 0.0 --rhomin 1e-8 -n
10 --domain 32 32 32'.
Program terminated with signal 11, Segmentation fault.
[New process 3890]
#0 0x00002abc96367f05 in std::basic_ostringstream, std::allocator >::str ()
from /usr/lib/libstdc++.so.6
#0 0x00002abc96367f05 in std::basic_ostringstream, std::allocator >::str ()
from /usr/lib/libstdc++.so.6
#1 0x00000000004699ce in Inform::flush ()
#2 0x0000000000487914 in main ()
bugpoint says:
*** The following function is being miscompiled:
main__ZN4GridILi3EED1Ev_2E_exit
You can reproduce the problem with the command line:
llc -f bugpoint.test.bc-e314SK -o bugpoint.test.bc-e314SK.s
gcc ./bugpoint.safe.bc-j4Rq3C.llc.s.so bugpoint.test.bc-e314SK.s -o
bugpoint.test.bc-e314SK.exe -Wl,-R.
bugpoint.test.bc-e314SK.exe --cartvis 1.0 0.0 --rhomin 1e-8 -n 10 --domain 32
32 32
The shared object was created with:
llc -march=c bugpoint.safe.bc-j4Rq3C -o temporary.c
gcc -xc temporary.c -O2 -o ./bugpoint.safe.bc-j4Rq3C.llc.s.so -fPIC -shared
-fno-strict-aliasing
Here's relevant portion:
define void @main__ZN4GridILi3EED1Ev_2E_exit(%struct.Inform* %out) nounwind {
newFuncRoot:
br label %_ZN4GridILi3EED1Ev.exit
_ZN4GridILi3EED1Ev.exit.ret.exitStub: ; preds =
%_ZN4GridILi3EED1Ev.exit
ret void
_ZN4GridILi3EED1Ev.exit: ; preds = %newFuncRoot
call fastcc void @_ZN6InformD1Ev(%struct.Inform* %out) nounwind
br label %_ZN4GridILi3EED1Ev.exit.ret.exitStub
}
Which gets transformed to by CBE into:
void _ZN6InformD1Ev(struct l_struct_2E_Inform *);
void main__ZN4GridILi3EED1Ev_2E_exit(struct l_struct_2E_Inform *llvm_cbe_out) {
_ZN6InformD1Ev(llvm_cbe_out);
return;
}
I think fastcc may be the problem
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 14:12:59 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 14:12:59 -0600
Subject: [LLVMbugs] [Bug 3505] New: MultiSource/Applications/ minisat jit
failure due to inline asm
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3505
Summary: MultiSource/Applications/minisat jit failure due to
inline asm
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
JIT doesn't support inline asm so:
llvm-dis Output/minisat.llvm.bc -o -|grep asm
call void asm "fnstcw $0", "=*m,~{dirflag},~{fpsr},~{flags}"(i16*
%oldcw) nounwind
call void asm sideeffect "fldcw $0",
"*m,~{dirflag},~{fpsr},~{flags}"(i16* %newcw) nounwind
This is because the code uses _FPU_GETCW/SETCW:
#define _FPU_GETCW(cw) __asm__ ("fnstcw %0" : "=m" (*&cw))
#define _FPU_SETCW(cw) __asm__ ("fldcw %0" : : "m" (*&cw))
__asm__ ("fnstcw %0" : "=m" (*&oldcw)); newcw = (oldcw & ~0x300) | 0x200;
__asm__ ("fldcw %0" : : "m" (*&newcw));
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 14:23:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 14:23:36 -0600
Subject: [LLVMbugs] [Bug 3506] New: SingleSource/Benchmarks/Misc-C++/bigfib
cbe failure
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3506
Summary: SingleSource/Benchmarks/Misc-C++/bigfib cbe failure
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2507)
--> (http://llvm.org/bugs/attachment.cgi?id=2507)
bugpoint.reduced.simplified.bc
Even after removing ulimit -v I get same error as with RunSafely.sh:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
exit 134
RunSafely.sh detected a failure with these command-line arguments: 500 0
/dev/null Output/bigfib.out-cbe Output/bigfib.cbe
bugpoint reduced testcase says:
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
Aborted
This is with 2.5 prerelease branch, on x86-64
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 14:33:31 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 14:33:31 -0600
Subject: [LLVMbugs] [Bug 3507] New: SingleSource/UnitTests/Threads/tls jit
failure
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3507
Summary: SingleSource/UnitTests/Threads/tls jit failure
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
With 2.5 prerelease on x86-64 linux:
lli: X86CodeEmitter.cpp:516: void::Emitter::emitInstruction(const
llvm::MachineInstr&, const llvm::TargetInstrDesc*): Assertion `0 && "psuedo
instructions should be removed before code emission"' failed.
0 lli 0x00000000009ebe8f
1 libc.so.6 0x00002b868c576f60
2 libc.so.6 0x00002b868c576ed5 gsignal + 53
3 libc.so.6 0x00002b868c5783f3 abort + 387
4 libc.so.6 0x00002b868c56fdc9 __assert_fail + 233
5 lli 0x00000000004d0e2f
6 lli 0x00000000004d205f
7 lli 0x000000000099469b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 347
8 lli 0x0000000000994a96
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 134
9 lli 0x0000000000994c1e
llvm::FunctionPassManager::run(llvm::Function&) + 62
10 lli 0x00000000006533f8 llvm::JIT::runJITOnFunction(llvm::Function*) +
56
11 lli 0x0000000000653669
llvm::JIT::getPointerToFunction(llvm::Function*) + 281
12 lli 0x000000000065bf75
13 lli 0x0000000000616edf X86CompilationCallback2 + 79
14 lli 0x0000000000616dfa
exit 134
RunSafely.sh detected a failure with these command-line arguments: 500 0
/dev/null Output/tls.out-jit /home/edwin/llvm2.5/llvm/Release/bin/lli
-force-interpreter=false --disable-core-files Output/tls.llvm.bc
Attached reduced testcase
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 14:37:21 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 14:37:21 -0600
Subject: [LLVMbugs] [Bug 3508] New: /SingleSource/UnitTests/Vector/divides
cbe failure
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3508
Summary: /SingleSource/UnitTests/Vector/divides cbe failure
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
With llvm 2.5 prerelease on x86-64 linux:
gcc Output/divides.cbe.c -o Output/divides.cbe -O3 -fno-strict-aliasing
-fno-inline
Output/divides.cbe.c:137: warning: conflicting types for built-in function
???malloc???
Output/divides.cbe.c: In function ???main???:
Output/divides.cbe.c:222: note: use -flax-vector-conversions to permit
conversions between vectors with differing element types or numbers of subparts
Output/divides.cbe.c:222: error: incompatible types in assignment
Output/divides.cbe.c:168: warning: return type of ???main??? is not ???int???
make: [Output/divides.cbe] Error 1 (ignored)
struct l_struct_2E_SV llvm_cbe_S3; /* Address-exposed local */
Compile error is here:
*((&llvm_cbe_S3.field0)) = (((signed int __attribute__((vector_size(16 )))
)(((signed int __attribute__((vector_size(16 ))) )ltmp_6_2) / ((signed int
__attribute__((vector_size(16 ))) )ltmp_7_2))));
This compiles with gcc-4.2 and runs ok, but not with gcc-4.3.3
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 14:40:27 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 14:40:27 -0600
Subject: [LLVMbugs] [Bug 3509] New: InitListExpr's getLocStart() incorrect
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3509
Summary: InitListExpr's getLocStart() incorrect
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: AST
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: alexei.svitkine at gmail.com
CC: llvmbugs at cs.uiuc.edu
It seems the start loc of an InitList points to the start token of the first
element in the list, rather than the {.
For example:
int a[10] = {0};
becomes:
(DeclStmt 0x1d06230
0x1d061a0 "int a[10] =
(InitListExpr 0x1d06250 'int [10]'
(IntegerLiteral 0x1d061d0 'int' 0))"
getLocStart() on the InitListExpr ends up pointing at 0 rather than {.
This seems incorrect. (And I'm pretty sure its not an off-by-one error in my
code, since I get the correct result for other Exprs in a DeclStmt).
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 16:26:57 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 16:26:57 -0600
Subject: [LLVMbugs] [Bug 3506] SingleSource/Benchmarks/Misc-C++/bigfib cbe
failure
In-Reply-To:
Message-ID: <200902072226.n17MQvDO005897@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3506
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Chris Lattner 2009-02-07 16:26:56 ---
*** This bug has been marked as a duplicate of bug 2125 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 16:28:02 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 16:28:02 -0600
Subject: [LLVMbugs] [Bug 3505] MultiSource/Applications/minisat jit failure
due to inline asm
In-Reply-To:
Message-ID: <200902072228.n17MS2n8005986@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3505
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Chris Lattner 2009-02-07 16:28:02 ---
*** This bug has been marked as a duplicate of bug 1343 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 16:28:41 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 16:28:41 -0600
Subject: [LLVMbugs] [Bug 3504] [llvm2.5prerelease] tramp3d-v4 cbe failure
In-Reply-To:
Message-ID: <200902072228.n17MSfxu006052@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3504
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Chris Lattner 2009-02-07 16:28:40 ---
*** This bug has been marked as a duplicate of bug 1658 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 16:38:11 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 16:38:11 -0600
Subject: [LLVMbugs] [Bug 3503] cbe: emits incorrect code for double/long
double
In-Reply-To:
Message-ID: <200902072238.n17McBw6006465@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3503
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-02-07 16:38:11 ---
Nasty bug, fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073439.html
This isn't a regression so it probably shouldn't be pulled into 2.5
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 16:43:32 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 16:43:32 -0600
Subject: [LLVMbugs] [Bug 3496] LLVM misses some loop optimizations compared
to GCC
In-Reply-To:
Message-ID: <200902072243.n17MhWvs006650@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3496
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Chris Lattner 2009-02-07 16:43:32 ---
The spiller problems are definitely real and significant. I believe that Evan
is going to tackle them sooner rather than later. This issue is not a real
problem though (I suspect). I'm just going to close this for now, if the
spiller patch doesn't get us back to parity please reopen or file a new
bugzilla, thanks Roman!
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 17:37:41 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 17:37:41 -0600
Subject: [LLVMbugs] [Bug 3320] volatile array bug in llvm-g++
In-Reply-To:
Message-ID: <200902072337.n17Nbf09008314@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3320
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #14 from Chris Lattner 2009-02-07 17:37:41 ---
fixed:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073440.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073441.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 18:02:18 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 18:02:18 -0600
Subject: [LLVMbugs] [Bug 3249] Crash in llvm-gcc with variably modified type
and pointer subtraction
In-Reply-To:
Message-ID: <200902080002.n1802IXA009450@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3249
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Chris Lattner 2009-02-07 18:02:18 ---
*** This bug has been marked as a duplicate of bug 2175 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 18:09:47 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 18:09:47 -0600
Subject: [LLVMbugs] [Bug 3510] New: llvm-gcc miscompiles simple static init
in -m64
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3510
Summary: llvm-gcc miscompiles simple static init in -m64
Product: tools
Version: 2.2
Platform: PC
OS/Version: All
Status: NEW
Keywords: miscompilation
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
llvm-gcc miscompiles this at -m64, not properly aligning the "1":
struct ty {
int info;
union {
int id;
char *str;
} u;
};
struct ty vals = { 101, 1 };
$ llvm-gcc t4.c -S -o - -m64
_vals: ## vals
.long 101 ## 0x65
.long 1 ## 0x1
.space 4
.space 4
$ gcc t4.c -S -o - -m64
_vals:
.long 101
.space 4
.long 1
.space 4
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 18:54:33 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 18:54:33 -0600
Subject: [LLVMbugs] [Bug 3511] New: clang generates i64 @main(i64, i64),
which lli doesn' t accept
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3511
Summary: clang generates i64 @main(i64, i64), which lli doesn't
accept
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: me22.ca at gmail.com
CC: llvmbugs at cs.uiuc.edu
$ cat > bar.c
int main(int argc, char **argv) {
return 0;
}
$ clang -emit-llvm bar.c
$ grep main bar.ll
define i64 @main(i64, i64) nounwind {
$ llvm-as bar.ll
$ lli bar.bc
Invalid type for second argument of main() supplied
0 lli 0x0000000000df18f6
1 lli 0x0000000000df1c2c
2 libc.so.6 0x00007f817141edc0
3 libc.so.6 0x00007f817141ed55 gsignal + 53
4 libc.so.6 0x00007f81714200ce abort + 270
5 lli 0x00000000009e0715
llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*,
std::vector > const&, char const*
const*) + 345
6 lli 0x00000000007e86b9 main + 1329
7 libc.so.6 0x00007f817140c1f4 __libc_start_main + 244
8 lli 0x00000000007e7c49 atan + 273
Aborted
LLVM/Clang r64059
Possibly related to http://llvm.org/bugs/show_bug.cgi?id=3477
--
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.
From bugzilla-daemon at cs.uiuc.edu Sat Feb 7 21:12:25 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 7 Feb 2009 21:12:25 -0600
Subject: [LLVMbugs] [Bug 3512] New: segfault with dynamic alloca+call
combination
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3512
Summary: segfault with dynamic alloca+call combination
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: regression
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tomas.l.olsen at gmail.com
CC: llvmbugs at cs.uiuc.edu
To reproduce:
$ llc bar.bc
on a x86-32 linux machine with llvm release_25 branch rev 63833
-
The the attached bitcode is from a simple reduced testcase written in D:
private import tango.stdc.stdlib : alloca;
ubyte[] binaryDigest(ubyte[] buffer) { return null; }
void hexDigest (char[] buffer, uint ds) {
ubyte[] buf = (cast(ubyte *) alloca(ds))[0..ds];
ubyte[] ret = binaryDigest(buf);
}
the attached bitcode was generated by LDC.
This code works with LLVM 2.4, but with LLVM 2.5 it segfaults inside LLVM
codegen:
..
Program received signal SIGSEGV, Segmentation fault.
..
#0 llvm::X86RegisterInfo::eliminateCallFramePseudoInstr (this=0xa617f58,
MF=@0xa656000, MBB=@0xa6570f0, I=
{> =
{> = {}, }, NodePtr = 0xa6574f8}) at
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../include/c++/4.3.3/bits/stl_vector.h:485
#1 0x08564b97 in calculateCalleeSavedRegisters (this=0xa64db60, Fn=@0xa656000)
at PrologEpilogInserter.cpp:173
#2 0x0856636e in runOnMachineFunction (this=0xa64db60, Fn=@0xa656000) at
PrologEpilogInserter.cpp:70
#3 0x08864a51 in llvm::FPPassManager::runOnFunction (this=0xa63f0e0,
F=@0xa621ed8) at PassManager.cpp:1323
#4 0x08864e27 in llvm::FunctionPassManagerImpl::run (this=0xa63e8b8,
F=@0xa621ed8) at PassManager.cpp:1281
#5 0x08864fd5 in llvm::FunctionPassManager::run (this=0xbfc194a0,
F=@0xa621ed8) at PassManager.cpp:1226
#6 0x081fa409 in write_asm_to_file (Target=@0xa617e58, m=@0xa616e48,
out=@0xbfc198a8)
at /home/tomas/ldc/gen/toobj.cpp:312
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Feb 8 04:33:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 8 Feb 2009 04:33:36 -0600
Subject: [LLVMbugs] [Bug 3232] Disable gcc inliner
In-Reply-To:
Message-ID: <200902081033.n18AXagl021135@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3232
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #29 from Evan Cheng 2009-02-08 04:33:34 ---
Yes it is.
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Feb 8 05:05:18 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 8 Feb 2009 05:05:18 -0600
Subject: [LLVMbugs] [Bug 3486] null ptr deref in
llvm::SimpleRegisterCoalescing::JoinIntervals( llvm::LiveInterval&,
llvm::LiveInterval&, bool&)
In-Reply-To:
Message-ID: <200902081105.n18B5IE8031560@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3486
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Evan Cheng 2009-02-08 05:05:13 ---
Fixed.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073461.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Feb 8 13:42:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 8 Feb 2009 13:42:26 -0600
Subject: [LLVMbugs] [Bug 3513] New: Missing documentation
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3513
Summary: Missing documentation
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: lennart at augustsson.net
CC: llvmbugs at cs.uiuc.edu
The LLVM manual makes no mention of the fact that label* is not a valid type.
I can see reasons for disallowing it, but it would be nice if it was mentioned
(maybe with some rationale).
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Feb 8 13:54:03 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 8 Feb 2009 13:54:03 -0600
Subject: [LLVMbugs] [Bug 3513] Missing documentation
In-Reply-To:
Message-ID: <200902081954.n18Js3Rn016037@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3513
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-02-08 13:54:02 ---
done, thanks:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073467.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Feb 8 14:17:00 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 8 Feb 2009 14:17:00 -0600
Subject: [LLVMbugs] [Bug 1105] Provide options in LTO to build a PIC object
file for linking into a shared library .
In-Reply-To:
Message-ID: <200902082017.n18KH046016876@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=1105
Chandler Carruth changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Chandler Carruth 2009-02-08 14:17:00 ---
Nope, that's specifically what this bug was about. I'll go ahead and close it,
thanks Nick!
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Feb 8 16:42:20 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 8 Feb 2009 16:42:20 -0600
Subject: [LLVMbugs] [Bug 2055] LLVM should have a nocapture parameter
attribute for functions that don' t let a pointer value escape
In-Reply-To:
Message-ID: <200902082242.n18MgKgl021422@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=2055
Nick Lewycky changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #9 from Nick Lewycky 2009-02-08 16:42:20 ---
I added this a while ago. Missed optz'ns with nocapture should get their own
bugs.
--
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.
From bugzilla-daemon at cs.uiuc.edu Sun Feb 8 18:05:07 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 8 Feb 2009 18:05:07 -0600
Subject: [LLVMbugs] [Bug 3431] Kaleidascope tutorial doesn't mention
-rdynamic
In-Reply-To:
Message-ID: <200902090005.n19057I5023933@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3431
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Chris Lattner 2009-02-08 18:05:06 ---
applied, thanks!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090202/073483.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 00:52:54 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 00:52:54 -0600
Subject: [LLVMbugs] [Bug 3515] New: llc build with Visual studio 2008 assert
for not link X86AsmPrinter
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3515
Summary: llc build with Visual studio 2008 assert for not link
X86AsmPrinter
Product: tools
Version: 2.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: llc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: stanli at S3Graphics.com
CC: llvmbugs at cs.uiuc.edu
Run: llc -march=x86 -f -o=test.asm vec_set.bc
vec_set.bc comes from llvm-as llvm-2.4\test\CodeGen\X86\vec_set.ll
Assert at line199 in X86TargetMachine.cpp
assert(AsmPrinterCtor && "AsmPrinter was not linked in");
Will be fixed by add X86AsmPrinter.obj to the Additional Dependencies of llc
linker input.
Thanks
Stan Li
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 01:06:25 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 01:06:25 -0600
Subject: [LLVMbugs] [Bug 2989] weak attribute improper handled when return
type is pointer type
In-Reply-To:
Message-ID: <200902090706.n1976Pjn004688@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=2989
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #9 from Chris Lattner 2009-02-09 01:06:25 ---
This patch should fix it:
http://llvm.org/viewvc/llvm-project?view=rev&revision=64116
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 01:52:12 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 01:52:12 -0600
Subject: [LLVMbugs] [Bug 3434] Wrong x86 code generated
In-Reply-To:
Message-ID: <200902090752.n197qCI6006233@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3434
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Duncan Sands 2009-02-09 01:52:11 ---
No, the new legalizer does not handle vectors of i1.
The old legalizer didn't either, it just thought it
did. The target independent optimizers also don't
handle it properly, they also just think they do:
some places think is n bits wide, other
places think it's n bytes wide.
*** This bug has been marked as a duplicate of bug 1784 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 01:55:08 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 01:55:08 -0600
Subject: [LLVMbugs] [Bug 2373] Type size mismatch assertion during llvm-gcc
compile on __powixf2
In-Reply-To:
Message-ID: <200902090755.n197t8f8006354@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=2373
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #20 from Duncan Sands 2009-02-09 01:55:08 ---
I think Anton fixed this some time ago, see FrontendC/2009-01-20-k8.c.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 08:32:12 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 08:32:12 -0600
Subject: [LLVMbugs] [Bug 3516] New: Assertion failed:
(getOperand(0)->getType() == cast<
PointerType>(getOperand(1)->getType())->getElementType() && " Ptr must be a
pointer to Val type!"), function AssertOK, file Instructions. cpp,
line 895.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3516
Summary: Assertion failed: (getOperand(0)->getType() ==
cast(getOperand(1)->getType())-
>getElementType() && "Ptr must be a pointer to Val
type!"), function AssertOK, file Instructions.cpp, line
895.
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
I am getting this assert when compiling the attached test case
clang -emit-llvm-bc ee.c
...
Assertion failed: (getOperand(0)->getType() ==
cast(getOperand(1)->getType())->getElementType() && "Ptr must be a
pointer to Val type!"), function AssertOK, file Instructions.cpp, line 895.
Abort (core dumped)
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 09:55:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 09:55:48 -0600
Subject: [LLVMbugs] [Bug 3490] (Partial) Loop unrolling calls setSuccessor
with NULL
In-Reply-To:
Message-ID: <200902091555.n19FtlwV032434@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3490
Gabor Greif changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #9 from Gabor Greif 2009-02-09 09:55:47 ---
I have committed r64142, which takes care of the "problem".
In a nutshell, when doing unrolling and opt is invoked with -debug,
invalid basic block fragments get dumped on stdout. The end result
of the unrolling, however, is valid.
Closing bug.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 12:27:42 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 12:27:42 -0600
Subject: [LLVMbugs] [Bug 3517] New: undefined reference to extern inline
function
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3517
Summary: undefined reference to extern inline function
Product: tools
Version: 2.5
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jay.foad at antixlabs.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2515)
--> (http://llvm.org/bugs/attachment.cgi?id=2515)
test case
The attached test case is taken from the GCC 4.2 testsuite. With llvm-gcc 2.5
(first prerelease) I get:
$ ~/llvm/llvm-gcc4.2-2.5-x86-linux-RHEL4/bin/llvm-gcc -w -O2 20010119-1.c
/tmp/ccUbcv70.o: In function `main':
20010119-1.c:(.text+0x36): undefined reference to `foo'
collect2: ld returned 1 exit status
I don't get this error with either llvm-gcc 2.4 or any GCC 4.X (I've tried
debian lenny's 4.1.3, 4.2.4 and 4.3.2).
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 12:32:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 12:32:06 -0600
Subject: [LLVMbugs] [Bug 3518] New: undefined reference to
__compound_literal.*
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3518
Summary: undefined reference to __compound_literal.*
Product: tools
Version: 2.5
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jay.foad at antixlabs.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2516)
--> (http://llvm.org/bugs/attachment.cgi?id=2516)
test case
The attached test case is taken from the GCC 4.2 testsuite. With llvm-gcc 2.5
(first prerelease) I get:
$ ~/llvm/llvm-gcc4.2-2.5-x86-linux-RHEL4/bin/llvm-gcc -O0 20050929-1.c
/tmp/cce8mH7H.o:(.data+0x0): undefined reference to `__compound_literal.2'
/tmp/cce8mH7H.o:(.data+0x4): undefined reference to `__compound_literal.3'
collect2: ld returned 1 exit status
I don't get this error with either llvm-gcc 2.4 or any GCC 4.X (I've tried
debian lenny's 4.1.3, 4.2.4 and 4.3.2).
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 13:32:17 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 13:32:17 -0600
Subject: [LLVMbugs] [Bug 3519] New: multiple designated initializer related
bug
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3519
Summary: multiple designated initializer related bug
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: AST
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: bolzoni at cs.unipr.it
CC: llvmbugs at cs.uiuc.edu, bagnara at cs.unipr.it
code.c --<
struct foo {
int arr[10];
};
struct foo Y[10] = {
[1] .arr [1] = 2,
[4] .arr [2] = 4
};
--------->
clang code.c
code.c:7:7: error: field designator cannot initialize a non-struct, non-union
type 'int'
[4] .arr [2] = 4
^
1 diagnostic generated.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 13:46:15 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 13:46:15 -0600
Subject: [LLVMbugs] [Bug 3519] multiple designated initializer related bug
In-Reply-To:
Message-ID: <200902091946.n19JkFBj007850@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3519
Douglas Gregor changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #2 from Douglas Gregor 2009-02-09 13:46:14 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090209/012021.html
Thanks!
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 14:10:02 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 14:10:02 -0600
Subject: [LLVMbugs] [Bug 3520] New: llvm-gcc never calls
SimplifyLibCalls::doInitialization
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3520
Summary: llvm-gcc never calls SimplifyLibCalls::doInitialization
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu
Builtin functions aren't picking up their nocapture attributes:
$ cat x.c
extern int use(char*x) {
return strlen(x);
}
$ llvm-gcc -O2 x.c -S -o - -emit-llvm
x.c: In function ???use???:
x.c:2: warning: incompatible implicit declaration of built-in function
???strlen???
; ModuleID = 'x.c'
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
target triple = "x86_64-unknown-linux-gnu"
define i32 @use(i8* %x) nounwind readonly {
entry:
%0 = tail call i64 @strlen(i8* %x) nounwind readonly ;
[#uses=1]
%1 = trunc i64 %0 to i32 ; [#uses=1]
ret i32 %1
}
declare i64 @strlen(i8*) nounwind readonly
because SimplifyLibCalls::doInitialization is never being called even though
runOnFunction is. By contrast if you run opt -simplifylibcalls, it works fine.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 15:06:29 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 15:06:29 -0600
Subject: [LLVMbugs] [Bug 3521] New: Handling of constant initializers needs
cleaning
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3521
Summary: Handling of constant initializers needs cleaning
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
Sema currently has some extra code for accepting static initializers which is
not present in Evaluate. As a consequence, isConstantInitializer returns false
for things which Sema has accepted as constant initializers.
This causes problems for CodeGen, which should not have to replicate this code.
For example, replacing calls to CheckConstantInitializer with:
--
if (!CheckForConstantInitializer(Init, DclT))
assert(Init->isConstantInitializer(Context) && "Invalid
CheckForConstantInitializer result.");
--
results in 10 assertions just when running the clang test suite.
We need a number of cleanups here:
1. Decl's should distinguish between constant and non-constant initializers
(C++).
2. The special Sema code for accepting more things as constant initializers
needs to be killed off and moved into Evaluate.
3. CodeGen should stop doing any more work than is necessary to emit constant
initializers. The constant emission should only worry about walking the
initializer tree, but not about actually constructing values for things; it
should rely on Evaluate for that.
This bug is a placeholder for this work.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 15:17:02 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 15:17:02 -0600
Subject: [LLVMbugs] [Bug 3522] New: Missing register save when only used in
landing pad ( llc -fast ok)
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3522
Summary: Missing register save when only used in landing pad (llc
-fast ok)
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2517)
--> (http://llvm.org/bugs/attachment.cgi?id=2517)
testcase .ll
Attached IR is reduced from Ada test c34018a which started failing
very recently. If compiled with "llc -fast", all is ok, but with
"llc" the test fails. The reason seems clear: in the good "fast"
code the value of %al is saved for later use in a landing pad. In
the bad code it is not saved and some random value is used in the
landing pad. Here's the start of the good code:
_ada_c34018a:
.Leh_func_begin1:
.Llabel24:
pushl %ebp
pushl %ebx
pushl %edi
pushl %esi
subl $12, %esp
movl $90, (%esp)
call report__ident_int <= returns 90
movl %eax, %esi
leal -51(%esi), %eax
cmpl $39, %eax
jbe .LBB1_2 # bb3 <= jumps to bb3
.LBB1_1: # bb
leal .str, %esi
movl %esi, (%esp)
movl $24, 4(%esp)
call __gnat_rcheck_12
.LBB1_2: # bb3
movl %esi, %eax
movb %al, %bl <= value saved to %bl, missing in bad code
.Llabel1:
movl $.str, (%esp)
movl $32, 4(%esp)
call __gnat_rcheck_12 <= raises an exception
...control eventually gets to:
.LBB1_9: # bb17
movb %bl, %al <= saved value restored here
addb $255, %al
cmpb $99, %al
jbe .LBB1_12 # bb20
While in the bad code:
_ada_c34018a:
.Leh_func_begin1:
.Llabel24:
pushl %ebx
pushl %edi
pushl %esi
subl $8, %esp
movl $90, (%esp)
call report__ident_int <= returns 90
movl %eax, %esi
leal -51(%esi), %eax
cmpl $40, %eax
jae .LBB1_25 # bb <= falls through
.LBB1_1: # bb3
.Llabel1:
movl $32, 4(%esp) <= value %al not saved
movl $.str, (%esp)
call __gnat_rcheck_12 <= raises an exception
...control eventually gets to:
.LBB1_6: # bb17
movb %bl, %al <= value restored but was never saved!
decb %al
cmpb $100, %al
jb .LBB1_8 # bb20
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 15:50:53 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 15:50:53 -0600
Subject: [LLVMbugs] [Bug 3523] New: clang/x86_64 miscompiles
MultiSource/Benchmarks/McCat/ 09-vor/vor
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3523
Summary: clang/x86_64 miscompiles
MultiSource/Benchmarks/McCat/09-vor/vor
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
The generated executable crashes on the test input.
--
ddunbar at lordcrumb:09-vor$ Output/vor.llc < vor.in3
Segmentation fault
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 15:53:31 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 15:53:31 -0600
Subject: [LLVMbugs] [Bug 3524] New: clang/x86_64 miscompiles
MultiSource/Applications/sgefa/ sgefa
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3524
Summary: clang/x86_64 miscompiles
MultiSource/Applications/sgefa/sgefa
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
The output should be separated in places by '****....' but it is not.
The output is done at driver.c:115:
--
if( test_case>1 ) { /* Free up memory used in the last
test. */
printf("\n\n**********************************************************************\n");
--
Possible sign extension error?
--
ddunbar at lordcrumb:sgefa$ head Output/sgefa.out-llc
Hilbert Slice. Test case 1 of size 120.
One-Norm(A) ---------- 1.833333e+00.
Hilbert Slice. Test case 2 of size 240.
One-Norm(A) ---------- 1.833333e+00.
Hilbert Slice. Test case 3 of size 360.
One-Norm(A) ---------- 1.833333e+00.
Monoelemental. Test case 4 of size 1.
MATRIX FOLLOWS
0| 3.0000e+00
ddunbar at lordcrumb:sgefa$ head Output/sgefa.out-nat
Hilbert Slice. Test case 1 of size 120.
One-Norm(A) ---------- 1.833333e+00.
**********************************************************************
Hilbert Slice. Test case 2 of size 240.
One-Norm(A) ---------- 1.833333e+00.
**********************************************************************
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 15:56:16 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 15:56:16 -0600
Subject: [LLVMbugs] [Bug 3525] New: clang/x86_64 miscompiles
MultiSource/Benchmarks/MiBench/ network-dijkstra/network-dijkstra
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3525
Summary: clang/x86_64 miscompiles
MultiSource/Benchmarks/MiBench/network-dijkstra/network-
dijkstra
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
The generated binary crashes on the test input:
--
ddunbar at lordcrumb:network-dijkstra$ Output/network-dijkstra.llc input.dat
Segmentation fault
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 15:58:23 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 15:58:23 -0600
Subject: [LLVMbugs] [Bug 3526] New:
MultiSource/Benchmarks/MiBench/telecomm-adpcm/ telecomm-adpcm
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3526
Summary: MultiSource/Benchmarks/MiBench/telecomm-adpcm/telecomm-
adpcm
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
The generated binary does not behave as expected:
--
ddunbar at lordcrumb:telecomm-adpcm$ Output/telecomm-adpcm.llc < large.adpcm
input file: Invalid argument
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 16:08:51 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 16:08:51 -0600
Subject: [LLVMbugs] [Bug 3527] New: clang/x86_64 miscompiles
MultiSource/Benchmarks/Prolangs-C/ fixoutput/fixoutput
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3527
Summary: clang/x86_64 miscompiles
MultiSource/Benchmarks/Prolangs-C/fixoutput/fixoutput
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
The generated executable crashes:
--
ddunbar at lordcrumb:fixoutput$ Output/fixoutput.llc < /dev/null
Segmentation fault
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 16:15:15 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 16:15:15 -0600
Subject: [LLVMbugs] [Bug 3471] assert in LSR
In-Reply-To:
Message-ID: <200902092215.n19MFF8p013505@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3471
Dale Johannesen changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Dale Johannesen 2009-02-09 16:15:15 ---
Fixed here.
http://llvm.org/viewvc/llvm-project?view=rev&revision=64177
Please verify the original large program (I assume there was one) now works.
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 16:53:34 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 16:53:34 -0600
Subject: [LLVMbugs] [Bug 3528] New: clang/x86_64 miscompiles
MultiSource/Benchmarks/SciMark2-C/ scimark2
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3528
Summary: clang/x86_64 miscompiles
MultiSource/Benchmarks/SciMark2-C/scimark2
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
clang/x86_64 miscompiles MultiSource/Benchmarks/SciMark2-C/scimark2; the
generated executable crashes:
--
ddunbar at lordcrumb:SciMark2-C$ Output/scimark2.llc < /dev/null
Segmentation fault
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 17:03:09 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 17:03:09 -0600
Subject: [LLVMbugs] [Bug 3529] New: clang/x86_64 miscompiles
MultiSource/Benchmarks/mediabench/ adpcm/rawcaudio/rawcaudio
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3529
Summary: clang/x86_64 miscompiles
MultiSource/Benchmarks/mediabench/adpcm/rawcaudio/rawcau
dio
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
clang/x86_64 miscompiles
MultiSource/Benchmarks/mediabench/adpcm/rawcaudio/rawcaudio
The generated executable does not function correctly:
--
ddunbar at lordcrumb:rawcaudio$ Output/rawcaudio.llc < ../data/clinton.pcm
input file: Invalid argument
--
This appears to be a misoptimization, compiling without -O3 works:
--
ddunbar at lordcrumb:rawcaudio$ xcc -std=gnu89
-I/Volumes/Data/ddunbar/llvm/projects/test-suite/MultiSource/Benchmarks/mediabench/adpcm/rawcaudio
-I/Users/ddunbar/llvm/projects/test-suite/MultiSource/Benchmarks/mediabench/adpcm/rawcaudio
-I/Users/ddunbar/llvm/include -I/Users/ddunbar/llvm/projects/test-suite/include
-I../../../../../include -I/Users/ddunbar/llvm/include -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -DNDEBUG -m64 -mllvm -disable-llvm-optzns
-mdynamic-no-pic -fomit-frame-pointer rawcaudio.c adpcm.c
ddunbar at lordcrumb:rawcaudio$ ./a.out < ../data/clinton.pcm > /dev/null
Final valprev=4085, index=8
ddunbar at lordcrumb:rawcaudio$ xcc -std=gnu89
-I/Volumes/Data/ddunbar/llvm/projects/test-suite/MultiSource/Benchmarks/mediabench/adpcm/rawcaudio
-I/Users/ddunbar/llvm/projects/test-suite/MultiSource/Benchmarks/mediabench/adpcm/rawcaudio
-I/Users/ddunbar/llvm/include -I/Users/ddunbar/llvm/projects/test-suite/include
-I../../../../../include -I/Users/ddunbar/llvm/include -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -DNDEBUG -m64 -mllvm -disable-llvm-optzns
-mdynamic-no-pic -fomit-frame-pointer rawcaudio.c adpcm.c -O3
ddunbar at lordcrumb:rawcaudio$ ./a.out < ../data/clinton.pcm > /dev/null
input file: Invalid argument
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 17:06:47 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 17:06:47 -0600
Subject: [LLVMbugs] [Bug 3530] New: clang/x86_64 miscompiles
SingleSource/Benchmarks/McGill/ exptree
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3530
Summary: clang/x86_64 miscompiles
SingleSource/Benchmarks/McGill/exptree
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
clang/x86_64 miscompiles SingleSource/Benchmarks/McGill/exptree
The generated executable produces no output:
--
ddunbar at lordcrumb:McGill$ Output/exptree.native < /dev/null
14+13=27; 27*32=864.
ddunbar at lordcrumb:McGill$ Output/exptree.llc < /dev/null
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 17:09:15 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 17:09:15 -0600
Subject: [LLVMbugs] [Bug 3531] New: clang/x86_64 miscompiles
SingleSource/Benchmarks/Misc/ himenobmtxpa
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3531
Summary: clang/x86_64 miscompiles
SingleSource/Benchmarks/Misc/himenobmtxpa
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu
clang/x86_64 miscompiles SingleSource/Benchmarks/Misc/himenobmtxpa
The generated executable crashes:
--
ddunbar at lordcrumb:Misc$ Output/himenobmtxpa.native
mimax = 64 mjmax = 64 mkmax = 128
imax = 63 jmax = 63 kmax =127
Loop executed for 64 times
Gosa : 2.395185e-03
ddunbar at lordcrumb:Misc$ Output/himenobmtxpa.llc
mimax = 64 mjmax = 64 mkmax = 128
imax = 63 jmax = 63 kmax =127
Segmentation fault
--
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 21:14:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 21:14:26 -0600
Subject: [LLVMbugs] [Bug 3532] New: llvm-gcc fails to build Qt4.5-RC1
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3532
Summary: llvm-gcc fails to build Qt4.5-RC1
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: parag.warudkar at gmail.com
CC: llvmbugs at cs.uiuc.edu
Get a ton of errors like the below -
../../include/QtCore/../../src/corelib/tools/qvector.h:107: warning: inlining
failed in call to ???QVector::~QVector() [with T = double]???: function not
considered for inlining
../../include/QtGui/private/../../../src/gui/painting/qstroker_p.h:239:
warning: called from here
/home/parag/devel/llvm/bin/lib/gcc/x86_64-unknown-linux-gnu/4.2.1/include/mmintrin.h:
In static member function ???static long long int __vector__
QMMXCommonIntrinsics::_negate(const long long int __vector__&, const long long
int __vector__&)???:
/home/parag/devel/llvm/bin/lib/gcc/x86_64-unknown-linux-gnu/4.2.1/include/mmintrin.h:1007:
error: ???always_inline??? function could not be inlined in call to ???long
long int __vector__ _mm_xor_si64(long long int __vector__, long long int
__vector__)???: function not considered for inlining
../../include/QtGui/private/../../../src/gui/painting/qdrawhelper_mmx_p.h:80:
error: called from here
gmake[1]: *** [.obj/release-shared/qdrawhelper_mmx.o] Error 1
--
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.
From bugzilla-daemon at cs.uiuc.edu Mon Feb 9 21:34:35 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 9 Feb 2009 21:34:35 -0600
Subject: [LLVMbugs] [Bug 3516] Assertion failed: (getOperand(0)->getType()
== cast (getOperand(1)->getType())->getElementType() && " Ptr
must be a pointer to Val type!"), function AssertOK, file Instructions. cpp,
line 895.
In-Reply-To:
Message-ID: <200902100334.n1A3YZS6009199@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3516
Anders Carlsson changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andersca at mac.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Anders Carlsson 2009-02-09 21:34:34 ---
This seems to work fine now, I suspect that Daniel's bool changes to the x86-64
ABI fixed it.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 02:30:35 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 02:30:35 -0600
Subject: [LLVMbugs] [Bug 3457] scheduling severely pessimizing scimark2
montecarlo loop
In-Reply-To:
Message-ID: <200902100830.n1A8UZHZ018954@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3457
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Evan Cheng 2009-02-10 02:30:34 ---
Fixed.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090209/073547.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 02:30:39 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 02:30:39 -0600
Subject: [LLVMbugs] [Bug 3454] error: cannot codegen this break/continue/
return inside scope with VLA yet
In-Reply-To:
Message-ID: <200902100830.n1A8Udp2018979@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3454
Roman Divacky changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Roman Divacky 2009-02-10 02:30:38 ---
this seems to be fixed, I am able to compile the test without problems
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 03:42:19 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 03:42:19 -0600
Subject: [LLVMbugs] [Bug 3533] New: Add mafft to testsuite
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3533
Summary: Add mafft to testsuite
Product: new-bugs
Version: unspecified
Platform: PC
URL: http://align.bmr.kyushu-u.ac.jp/mafft/software/mafft-
6.624-without-extensions-src.tgz
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
I've been looking through the phoronix-testsuite, and found that mafft is quite
easy to compile and run (i.e. simple makefile, no configure).
I compared timings of llvm-gcc (2.5prerelease), and gcc-4.3.3:
gcc -O3:
real 0m19.971s
user 0m19.957s
sys 0m0.012s
llvm-gcc -O3:
real 0m23.793s
user 0m23.785s
sys 0m0.008s
Here is how to build it:
wget
http://align.bmr.kyushu-u.ac.jp/mafft/software/mafft-6.624-without-extensions-src.tgz
wget http://fire-salamander.co.uk/pts-tests/pyruvate_decarboxylase.fasta.bz2
tar xzvf mafft-6.624-without-extensions-src.tgz
bunzip2 pyruvate_decarboxylase.fasta.bz2
cd mafft-6.624-without-extensions/core
make CC="llvm-gcc -O3" -j4
cd ../
time core/pairlocalalign -b 62 -g -0.100 -f -2.00 -h 0.100 -L
<../pyruvate_decarboxylase.fasta
time /core/bfast -b 62 -f -1.53 -h -0.123 -F -l 2.7 -A -X
<../pyruvate_decarboxylase.fasta
time core/dvtditr -F -l 2.7 -z 50 -b 62 -f -1.53 -h -0.123 -I 1
http://llvm.org/bugs/show_bug.cgi?id=3534
Summary: Add paq8p to llvm testsuite
Product: Test Suite
Version: trunk
Platform: PC
URL: http://www.cs.fit.edu/~mmahoney/compression/paq8p.zip
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Programs Tests
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2518)
--> (http://llvm.org/bugs/attachment.cgi?id=2518)
testfile
This file shows interesting runtimes with different optimizations on a 256k
file generated from /dev/urandom.
(Built with g++ -march=native -DNOASM)
On x86-64:
g++-4.3 -O3: 55.75 s
g++-4.3 -O2: 39.25 s
g++-4.3 -Os: 41.14 s
llvm-g++ -O3: 53.23 s
llvm-g++ -O2: 53.37 s
llvm-g++ -Os: 55.86 s
So llvm's -O3 is slightly better than gcc's, however it can't achieve gcc's
-O2/-Os. I think this may have something to do with inlining.
Example run:
llvm-g++ -O2 -DNOASM paq8p.cpp;
./a.out file
It prints execution time.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 08:00:18 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 08:00:18 -0600
Subject: [LLVMbugs] [Bug 3535] New: const char * assigned to char * in
Unix/Signals.inc
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3535
Summary: const char * assigned to char * in Unix/Signals.inc
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: System Library
AssignedTo: unassignedbugs at nondot.org
ReportedBy: salimma at fedoraproject.org
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2519)
--> (http://llvm.org/bugs/attachment.cgi?id=2519)
Patch for Unix/Signals.inc
strrchr returns a const char *, but it is assigned to a char * variable twice
in the file. This breaks compiling, at least on gcc-4.4.0 prereleases.
Switching to const char * (instead of coercing to char *) seems to work; the
char array is never modified.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 11:50:08 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 11:50:08 -0600
Subject: [LLVMbugs] [Bug 3536] New: Assertion failed:
(BlockScopes.count(Blocks[i]) && " Did not find block in scope map!"),
function PopCleanupBlock, file CodeGenFunction.cpp, line 651.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3536
Summary: Assertion failed: (BlockScopes.count(Blocks[i]) && "Did
not find block in scope map!"), function
PopCleanupBlock, file CodeGenFunction.cpp, line 651.
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
I am getting this when compiling the attached
lev /tmp# clang -emit-llvm vm_pageout.c
Assertion failed: (BlockScopes.count(Blocks[i]) && "Did not find block in scope
map!"), function PopCleanupBlock, file CodeGenFunction.cpp, line 651.
Abort (core dumped)
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 11:52:19 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 11:52:19 -0600
Subject: [LLVMbugs] [Bug 3537] New: Assert when running the attached file
through llc
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3537
Summary: Assert when running the attached file through llc
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: andersca at mac.com
CC: llvmbugs at cs.uiuc.edu
Starting program: /Users/andersca/llvm/Debug/bin/llc
bugpoint-reduced-simplified.bc
Reading symbols for shared libraries +++. done
Assertion failed: (InReg && "Value not in map!"), function getValue, file
SelectionDAGBuild.cpp, line 952.
Program received signal SIGABRT, Aborted.
0x90157e42 in __kill ()
(gdb) bt
#0 0x90157e42 in __kill ()
#1 0x90157e34 in kill$UNIX2003 ()
#2 0x901ca23a in raise ()
#3 0x901d6679 in abort ()
#4 0x901cb3db in __assert_rtn ()
#5 0x005b8282 in llvm::SelectionDAGLowering::getValue (this=0x1705a30,
V=0x170a7bc) at SelectionDAGBuild.cpp:952
#6 0x005c5a0f in llvm::SelectionDAGLowering::visitLoad (this=0x1705a30,
I=@0x17029bc) at SelectionDAGBuild.cpp:2807
#7 0x005b7344 in llvm::SelectionDAGLowering::visit (this=0x1705a30, Opcode=25,
I=@0x17029bc) at Instruction.def:131
#8 0x005ce508 in llvm::SelectionDAGLowering::visit (this=0x1705a30,
I=@0x17029bc) at SelectionDAGBuild.cpp:819
#9 0x005e3d01 in llvm::SelectionDAGISel::SelectBasicBlock (this=0x17056d0,
LLVMBB=0x17024e0, Begin={>
= {<> = {}, }, NodePtr = 0x17029bc},
End={> = {<> = {}, }, NodePtr = 0x17029f0}) at SelectionDAGISel.cpp:470
#10 0x005e472f in llvm::SelectionDAGISel::SelectAllBasicBlocks (this=0x17056d0,
Fn=@0x17018e0, MF=@0x170aa00, MMI=0x1709240, DW=0x1705f40, TII=@0x18034f0) at
SelectionDAGISel.cpp:856
#11 0x005e4b06 in llvm::SelectionDAGISel::runOnFunction (this=0x17056d0,
Fn=@0x17018e0) at SelectionDAGISel.cpp:327
#12 0x0085f804 in llvm::FPPassManager::runOnFunction (this=0x1703520,
F=@0x17018e0) at PassManager.cpp:1323
#13 0x0085fa5a in llvm::FunctionPassManagerImpl::run (this=0x1703340,
F=@0x17018e0) at PassManager.cpp:1281
#14 0x0085fbe0 in llvm::FunctionPassManager::run (this=0xbffff780,
F=@0x17018e0) at PassManager.cpp:1226
#15 0x000033c5 in main (argc=2, argv=0xbffff828) at llc.cpp:317
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 11:56:24 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 11:56:24 -0600
Subject: [LLVMbugs] [Bug 3538] New: Cannot yet select: 0x80255a6e0: ch =
declare 0x802579090, 0x802578da8, 0x802578208
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3538
Summary: Cannot yet select: 0x80255a6e0: ch = declare
0x802579090, 0x802578da8, 0x802578208
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
getting this when compiling the attached
lev /tmp# ccc -c -g msdosfs_conv.c
....
Cannot yet select: 0x80255a6e0: ch = declare 0x802579090, 0x802578da8,
0x802578208
note that the -g is important, I dont know how to reproduce with plain clang
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 12:14:17 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 12:14:17 -0600
Subject: [LLVMbugs] [Bug 3535] const char * assigned to char * in
Unix/Signals.inc
In-Reply-To:
Message-ID: <200902101814.n1AIEH1R015697@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3535
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gohman at apple.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Dan Gohman 2009-02-10 12:14:17 ---
It's in newer versions of GLIBC. This is now fixed in trunk.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 12:18:41 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 12:18:41 -0600
Subject: [LLVMbugs] [Bug 3441] mixing ANSI C declaration and K&R function is
sometimes allowed and sometimes not
In-Reply-To:
Message-ID: <200902101818.n1AIIf7D015877@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3441
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel at zuster.org
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #6 from Daniel Dunbar 2009-02-10 12:18:40 ---
*** This bug has been marked as a duplicate of bug 2821 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 14:51:35 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 14:51:35 -0600
Subject: [LLVMbugs] [Bug 3539] New: TargetInstrInfo:: AnalyzeBranch can
modify the MBB being analyzed
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3539
Summary: TargetInstrInfo::AnalyzeBranch can modify the MBB being
analyzed
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: evan.cheng at apple.com
CC: llvmbugs at cs.uiuc.edu
AnalyzeBranch may delete instructions in the MBB if they are after the last
unconditional branch.
This may invalidate iterators or client's data structure (e.g. liveintervals
maps). The current workaround is to only allow this when the caller explicitly
permits so. The only such client is branch folding.
The current fix is to not allow AnalyzeBranch to delete instructions. Instead,
branch folding should perform this optimization.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 15:13:50 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 15:13:50 -0600
Subject: [LLVMbugs] [Bug 3540] New: error: 'struct pppoe_tag' may not be
used as an array element due to flexible array member
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3540
Summary: error: 'struct pppoe_tag' may not be used as an array
element due to flexible array member
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
getting this when compiling the attached
lev /tmp$ clang -emit-llvm pppoed.c
In file included from /usr/src/libexec/pppoed/pppoed.c:1:
In file included from /usr/src/libexec/pppoed/pppoed.c:41:
/usr/include/netgraph/ng_pppoe.h:213:22: error: 'struct pppoe_tag' may not be
used as an array element due to flexible array member
struct pppoe_tag tag[];
^
1 diagnostic generated.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 15:25:41 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 15:25:41 -0600
Subject: [LLVMbugs] [Bug 3528] clang/x86_64 miscompiles
MultiSource/Benchmarks/SciMark2-C/ scimark2
In-Reply-To:
Message-ID: <200902102125.n1ALPfwQ022342@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3528
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-02-10 15:25:41 ---
I added some #includes, plz verify.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 15:36:12 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 15:36:12 -0600
Subject: [LLVMbugs] [Bug 3541] New: improve builtin function handling
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3541
Summary: improve builtin function handling
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu, daniel at zuster.org,
dgregor at apple.com
The X86-64 ABI work exposed a GCC "feature" that clang isn't implementing.
Basically, if you use "calloc" without a prototype, GCC knows that it returns a
void* and gives it the right prototype. clang doesn't know this, and so it
defaults to returning int, which is different according to the ABI.
The proposed fix that we discussed is as follows:
1) add these builtins to the builtins.def file.
2) add a new "give me your builtin ID" method to FunctionDecl. It would return
true if the name is an identifier, if the identifier has a builtin ID, and if
the decl context is the translation unit. Stuff the like the printf format
checking stuff can be keyed off this instead of using strcmp of the callee
name.
3) when handling a definition (either implicit definition or redefinition)
check to see if we're redefining a builtin. If so, synthesize the builtin
definition first before doing decl merging.
4) If decl merging encounters an incompatibility, this should be a hard error,
not warning like GCC does. We don't want downstream clients to have to worry
about mangled builtin decls.
5) someday long in the future, we can add support for -ffree-standing,
-fno-builtin-calloc, etc. This would just not prepopulate the identifier info
for calloc with a builtin ID.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 15:43:57 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 15:43:57 -0600
Subject: [LLVMbugs] [Bug 3542] New: Implement __attribute__((overloadable))
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3542
Summary: Implement __attribute__((overloadable))
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
We need this for tgmath.h, Doug volunteered to tackle this.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 15:50:08 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 15:50:08 -0600
Subject: [LLVMbugs] [Bug 3540] Unsupported GNU extension: use of structures
with a flexible array initializer in an array, struct, or union
In-Reply-To:
Message-ID: <200902102150.n1ALo8KZ023255@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3540
Douglas Gregor changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Douglas Gregor 2009-02-10 15:50:07 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090209/012076.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 15:58:52 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 15:58:52 -0600
Subject: [LLVMbugs] [Bug 3527] clang/x86_64 has no builtin versions of
libcalls.
In-Reply-To:
Message-ID: <200902102158.n1ALwqXF023726@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3527
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #5 from Daniel Dunbar 2009-02-10 15:58:51 ---
*** This bug has been marked as a duplicate of bug 3541 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 16:08:33 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 16:08:33 -0600
Subject: [LLVMbugs] [Bug 3523] clang/x86_64 miscompiles
MultiSource/Benchmarks/McCat/09-vor/ vor
In-Reply-To:
Message-ID: <200902102208.n1AM8XCx024102@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3523
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Daniel Dunbar 2009-02-10 16:08:32 ---
*** This bug has been marked as a duplicate of bug 3541 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 16:12:35 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 16:12:35 -0600
Subject: [LLVMbugs] [Bug 3525] clang/x86_64 miscompiles
MultiSource/Benchmarks/MiBench/ network-dijkstra/network-dijkstra
In-Reply-To:
Message-ID: <200902102212.n1AMCZXQ024253@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3525
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Daniel Dunbar 2009-02-10 16:12:35 ---
*** This bug has been marked as a duplicate of bug 3541 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 16:17:49 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 16:17:49 -0600
Subject: [LLVMbugs] [Bug 3531] clang/x86_64 miscompiles
SingleSource/Benchmarks/Misc/ himenobmtxpa
In-Reply-To:
Message-ID: <200902102217.n1AMHnsv024551@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3531
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #4 from Daniel Dunbar 2009-02-10 16:17:49 ---
*** This bug has been marked as a duplicate of bug 3541 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 17:04:37 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 17:04:37 -0600
Subject: [LLVMbugs] [Bug 3536] Assertion failed:
(BlockScopes.count(Blocks[i]) && " Did not find block in scope map!"),
function PopCleanupBlock, file CodeGenFunction.cpp, line 651.
In-Reply-To:
Message-ID: <200902102304.n1AN4bF2026302@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3536
Anders Carlsson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Anders Carlsson 2009-02-10 17:04:37 ---
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090209/012089.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 19:04:15 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 19:04:15 -0600
Subject: [LLVMbugs] [Bug 3543] New: Certain ({ }) (?) expressions crash
clang / ccc
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3543
Summary: Certain ({ }) (?) expressions crash clang / ccc
Product: new-bugs
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: blocker
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: bkr at jumper.org
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2524)
--> (http://llvm.org/bugs/attachment.cgi?id=2524)
crashes
I tried to narrow this further and further down for 3 hours now -
this is as good as it gets.
I think it is somehow related to ({ }) expression but I am not sure.
--
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.
From bugzilla-daemon at cs.uiuc.edu Tue Feb 10 23:24:52 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 10 Feb 2009 23:24:52 -0600
Subject: [LLVMbugs] [Bug 3544] New: Incorrect warning when compiling
AIUtilities
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3544
Summary: Incorrect warning when compiling AIUtilities
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: catfish.man at gmail.com
CC: llvmbugs at cs.uiuc.edu
Steps to reproduce:
1) Check out the Adium source code from svn://svn.adiumx.com/adium/trunk
2) Attempt to compile with clang using the xcode project in
Frameworks/AIUtilities/
Results:
/Users/david/adium/trunk/Frameworks/AIUtilities
Framework/Source/AIStringAdditions.m:155:31: warning: incompatible pointer
types initializing 'NSString *', expected 'NSMutableString *'
NSMutableString *newString = [NSMutableString string];
^~~~~~~~~~~~~~~~~~~~~~~~
1 diagnostic generated.
This is incorrect, because the method +string declared on NSString returns an
id. It appears that clang is looking at the method -string declared in
AIStringAdditions.h, which does return an NSString. Commenting that declaration
out makes the warning go away.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 00:01:43 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 00:01:43 -0600
Subject: [LLVMbugs] [Bug 3545] New: Fatal error when assembling RBSplitView
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3545
Summary: Fatal error when assembling RBSplitView
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: catfish.man at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2526)
--> (http://llvm.org/bugs/attachment.cgi?id=2526)
The offending file
Steps to reproduce:
1) llc RBSplitView.bc -o RBSplitView.s; as RBSplitView.s
Results:
RBSplitView.s:1816:FATAL:Symbol Llabel357 already defined.
Versions:
llvm/clang r64284
Apple Inc version cctools-698.1~1, GNU assembler version 1.38
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 02:27:18 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 02:27:18 -0600
Subject: [LLVMbugs] [Bug 3495] LocalSpiller:: RewriteMBB does not propagate
the information about AvailableSpills between MBBs
In-Reply-To:
Message-ID: <200902110827.n1B8RIrd011924@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3495
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Evan Cheng 2009-02-11 02:27:17 ---
Fixed.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090209/073597.html
This eliminated 9 reloads and turned 6 into copies in the test case. It
eliminated over 2000 copies in 403.gcc.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 04:02:05 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 04:02:05 -0600
Subject: [LLVMbugs] [Bug 3520] llvm-gcc never calls
SimplifyLibCalls::doInitialization
In-Reply-To:
Message-ID: <200902111002.n1BA25P4025151@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3520
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Duncan Sands 2009-02-11 04:02:01 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090209/073599.html
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 08:29:19 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 08:29:19 -0600
Subject: [LLVMbugs] [Bug 3546] New: Redefinition of typedef doesn' t print
previously definition in some cases.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3546
Summary: Redefinition of typedef doesn't print previously
definition in some cases.
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Basic
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: skabet at gmail.com
CC: llvmbugs at cs.uiuc.edu
$ cat test.c
#include "/usr/include/netinet/in.h"
#include "/usr/include/unistd.h"
$ clang test.c
In file included from test.c:2:
/usr/include/unistd.h:238:20: error: typedef redefinition with different types
('__intptr_t' vs 'long')
typedef __intptr_t intptr_t;
^
1 diagnostic generated.
-------------------------
$ cat test.c
#include "/usr/include/unistd.h"
#include "/usr/include/netinet/in.h"
$ clang test.c
In file included from test.c:2:
In file included from /usr/include/netinet/in.h:24:
/usr/local/Headers/stdint.h:78:23: error: typedef redefinition with different
types ('long' vs '__intptr_t')
typedef long intptr_t;
^
In file included from test.c:1:
/usr/include/unistd.h:238:20: note: previous definition is here
typedef __intptr_t intptr_t;
^
2 diagnostics generated.
-----------------------
The only difference is the order the files are included. I haven't been able to
reduce the testcase yet.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 08:30:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 08:30:48 -0600
Subject: [LLVMbugs] [Bug 3547] New: llvm2.5prerelase: configure requires flex
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3547
Summary: llvm2.5prerelase: configure requires flex
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
If flex is not found, I get this error on Linux:
configure: error: flex not found but required
AFAIK flex&bison are no longer required since lib/AsmParser was rewritten from
scratch.
If so the configure check should be removed on trunk + release branch.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 09:14:35 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 09:14:35 -0600
Subject: [LLVMbugs] [Bug 3548] New: Bus error with -O4 on memory deallocation
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3548
Summary: Bus error with -O4 on memory deallocation
Product: tools
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: j at jawed.name
CC: llvmbugs at cs.uiuc.edu
Experiencing an easily reproducible Bus Error on memory deallocation with the
PHP project on Darwin with the O4 compiler flag (or with -flto).
1) grab the php source (http://snaps.php.net)
2) tar xjvf php5.3[...].tar.bz2
3) cd php5.3[...]
4) ./configure --enable-debug --enable-cli --disable-all --without-sqlite3
5) make && make install && make test
The symbol in question is zend_llist_destroy. I would attach the bugpoint
report however it is too large and given the issue is easy to reproduce it
seems less practical.
I'll leave it to the community to determine the real severity of this bug.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 09:20:19 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 09:20:19 -0600
Subject: [LLVMbugs] [Bug 3549] New: extremelly slow -O2 compilation
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3549
Summary: extremelly slow -O2 compilation
Product: clang
Version: unspecified
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: llvmbugs at cs.uiuc.edu
when compiling the attached test case I am getting these times:
lev /tmp$ time ccc -c parse.c
1.933u 0.081s 0:02.04 98.5% 22993+3509k 0+19io 0pf+0w
lev /tmp$ time ccc -c -g parse.c
2.647u 0.122s 0:02.85 96.8% 22070+3357k 0+30io 0pf+0w
ie. 2-3 seconds for plain build but
lev /tmp$ time ccc -c -O2 parse.c
467.364u 0.611s 8:07.90 95.9% 23927+3528k 0+20io 0pf+0w
thats over 8 minutes!
I dont know if the problem is in clang or llvm but top shows clang binary
running. this is with r64302, during the compilation the clang process took
~100MB
this is on amd64/freebsd
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 09:30:37 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 09:30:37 -0600
Subject: [LLVMbugs] [Bug 3550] New: problem with tail call to function that
accesses alloca' d memory
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3550
Summary: problem with tail call to function that accesses
alloca'd memory
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Interprocedural Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jay.foad at antixlabs.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2528)
--> (http://llvm.org/bugs/attachment.cgi?id=2528)
test case
As I understand it, if you have a tail call from function F to function G, G
isn't allowed to access any memory alloca'd in F.
With the attached example, if I do:
llvm-as -o - bug.ll | opt -inline -scalarrepl -tailcallelim | llvm-dis
and then search for "tail.*memcpy", I find a tail call to memcpy which is
definitely reading and writing memory alloca'd in the calling function:
%vint1 = alloca %"struct.stlpmtx_std::vector >"
%tmp13.i = getelementptr
%"struct.stlpmtx_std::vector >"* %vint1, i32 0, i32 0
%tmp14.i = getelementptr
%"struct.stlp_priv::_Vector_base >"* %tmp13.i, i32 0,
i32 2
%tmp1.i.i.i.i291 = getelementptr
%"struct.stlp_priv::_STLP_alloc_proxy >"*
%tmp14.i, i32 0, i32 0
%tmp1.i.i.i.i.i.i = getelementptr %"struct.StackAllocator"*
%tmp1.i.i.i.i291, i32 0, i32 0
%tmp3.i.i.i.i.i.i.i = bitcast %struct.State* %tmp1.i.i.i.i.i.i to i8*
tail call void @llvm.memcpy.i32(i8* %tmp3.i.i.i.i.i.i.i, i8*
%tmp4.i.i.i.i.i.i.i, i32 32, i32 4) nounwind
(I've only shown the instructions relevant to the memory that's being *written*
by the memcpy, but the memory being *read* also comes from a similar alloca.)
I'm using a recent build of LLVM on Linux/x86, from rev 64210 of head of svn.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 10:41:24 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 10:41:24 -0600
Subject: [LLVMbugs] [Bug 3551] New: llc asserts on given bitcode
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3551
Summary: llc asserts on given bitcode
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: criswell at uiuc.edu
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2529)
--> (http://llvm.org/bugs/attachment.cgi?id=2529)
LLVM Assembly of Bitcode file
The llc tool asserts on the attached bitcode file. The stack trace is:
Cannot yet select: 0x1810398: ch = declare 0x170eae4, 0x181062c, 0x1810524
#0 0x929d2b9e in __kill ()
#1 0x929d2b91 in kill$UNIX2003 ()
#2 0x92a49ec2 in raise ()
#3 0x92a5947f in abort ()
#4 0x00386f0f in (anonymous namespace)::X86DAGToDAGISel::CannotYetSelect
(this=0x170e9a0, N={Node = 0x1810398, ResNo = 0}) at X86GenDAGISel.inc:52907
#5 0x0039b6f1 in (anonymous namespace)::X86DAGToDAGISel::Select_DECLARE
(this=0x170e9a0, N=@0xbfffedf4) at X86GenDAGISel.inc:51187
#6 0x004b32ff in (anonymous namespace)::X86DAGToDAGISel::SelectCode
(this=0x170e9a0, N={Node = 0x1810398, ResNo = 0}) at X86GenDAGISel.inc:51249
#7 0x0031256c in (anonymous namespace)::X86DAGToDAGISel::Select
(this=0x170e9a0, N={Node = 0x1810398, ResNo = 0}) at
/Users/criswell/src/llvm22/lib/Target/X86/X86ISelDAGToDAG.cpp:1588
#8 0x004b7557 in (anonymous namespace)::X86DAGToDAGISel::SelectRoot
(this=0x170e9a0, DAG=@0x170ead0) at DAGISelHeader.h:119
#9 0x00315105 in (anonymous namespace)::X86DAGToDAGISel::InstructionSelect
(this=0x170e9a0) at
/Users/criswell/src/llvm22/lib/Target/X86/X86ISelDAGToDAG.cpp:709
#10 0x005e1e44 in llvm::SelectionDAGISel::CodeGenAndEmitDAG (this=0x170e9a0) at
/Users/criswell/src/llvm22/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:656
#11 0x005e3b17 in llvm::SelectionDAGISel::SelectBasicBlock (this=0x170e9a0,
LLVMBB=0x170bc20, Begin={>
= {<> = {}, }, NodePtr = 0x170bf64},
End={> = {<> = {}, }, NodePtr = 0x170bf90}) at
/Users/criswell/src/llvm22/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:500
#12 0x005e4365 in llvm::SelectionDAGISel::SelectAllBasicBlocks (this=0x170e9a0,
Fn=@0x1707a40, MF=@0x1714200, MMI=0x1712510, DW=0x170f210, TII=@0x18062f0) at
/Users/criswell/src/llvm22/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:856
#13 0x005e473c in llvm::SelectionDAGISel::runOnFunction (this=0x170e9a0,
Fn=@0x1707a40) at
/Users/criswell/src/llvm22/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:327
#14 0x0086091c in llvm::FPPassManager::runOnFunction (this=0x170c7f0,
F=@0x1707a40) at /Users/criswell/src/llvm22/lib/VMCore/PassManager.cpp:1323
#15 0x00860b72 in llvm::FunctionPassManagerImpl::run (this=0x170c610,
F=@0x1707a40) at /Users/criswell/src/llvm22/lib/VMCore/PassManager.cpp:1281
#16 0x00860cf8 in llvm::FunctionPassManager::run (this=0xbffff5e0,
F=@0x1707a40) at /Users/criswell/src/llvm22/lib/VMCore/PassManager.cpp:1226
#17 0x00002dc5 in main (argc=2, argv=0xbffff694) at
/Users/criswell/src/llvm22/tools/llc/llc.cpp:317
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 13:20:37 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 13:20:37 -0600
Subject: [LLVMbugs] [Bug 3552] New: LLVM-GCC fails to build on MingW (non
bootstrap).
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3552
Summary: LLVM-GCC fails to build on MingW (non bootstrap).
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jlerouge at apple.com
CC: dpatel at apple.com, gohman at apple.com, llvmbugs at cs.uiuc.edu
LLVM-GCC doesn't build on MingW, starting with revision 61207, doing a
non-bootstrap build.
* rev 61207 introduces the following error:
make[4]: Entering directory
`/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/gcc-build/i686-pc-mingw32/libstdc++-v3/include'
if [ ! -d "./i686-pc-mingw32/bits/stdc++.h.gch" ]; then \
mkdir -p ./i686-pc-mingw32/bits/stdc++.h.gch; \
fi; \
/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/gcc-build/./gcc/xgcc
-shared-libgcc
-B/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/gcc-build/./gcc
-nostdinc++ -L/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/gcc
-build/i686-pc-mingw32/libstdc++-v3/src
-L/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/gcc-build/i686-pc-mingw32/libstdc++-v3/src/.libs
-L/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/gcc-build/i686-pc-mingw32/winsup/
mingw
-L/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/gcc-build/i686-pc-mingw32/winsup/w32api/lib
-isystem
/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-gcc4.2-src/winsup/mingw/include
-isystem /c/cygwin/home/jlerouge/buildb
ot/llvm-test-fixed-gcc4.2-src/winsup/w32api/include
-Bc:/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/i686-pc-mingw32/bin/
-Bc:/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/i686-pc-mingw32/lib/
-isystem c:/cygwin/home/jler
ouge/buildbot/llvm-test-fixed-61207/i686-pc-mingw32/include -isystem
c:/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/i686-pc-mingw32/sys-include
-Winvalid-pch -Wno-deprecated -x c++-header -g -O2
-I/c/cygwin/home/jlerouge/buildb
ot/llvm-test-fixed-61207/gcc-build/i686-pc-mingw32/libstdc++-v3/include/i686-pc-mingw32
-I/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/gcc-build/i686-pc-mingw32/libstdc++-v3/include
-I/c/cygwin/home/jlerouge/buildbot/llvm-test
-fixed-gcc4.2-src/libstdc++-v3/libsupc++ -O0 -g
/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-gcc4.2-src/libstdc++-v3/include/precompiled/stdc++.h
-o i686-pc-mingw32/bits/stdc++.h.gch/O0g.gch
make[4]: *** [i686-pc-mingw32/bits/stdc++.h.gch/O0g.gch] Error 1
make[4]: Leaving directory
`/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/gcc-build/i686-pc-mingw32/libstdc++-v3/include'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/gcc-build/i686-pc-mingw32/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/gcc-build/i686-pc-mingw32/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory
`/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61207/gcc-build'
SVN log:
------------------------------------------------------------------------
r61207 | dpatel | 2008-12-18 11:18:20 -0800 (Thu, 18 Dec 2008) | 3 lines
Changed paths:
M /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Reuse DIType slot used for foward declaration for real definition.
------------------------------------------------------------------------
* And then, rev 61215 introduces another error, earlier in the build process:
/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61215/gcc-build/./gcc/xgcc
-B/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61215/gcc-build/./gcc/
-L/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61215/gcc-build/i686-pc-mingw32/win
sup/mingw
-L/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61215/gcc-build/i686-pc-mingw32/winsup/w32api/lib
-isystem
/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-gcc4.2-src/winsup/mingw/include
-isystem /c/cygwin/home/jlerouge/bu
ildbot/llvm-test-fixed-gcc4.2-src/winsup/w32api/include
-Bc:/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61215/i686-pc-mingw32/bin/
-Bc:/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61215/i686-pc-mingw32/lib/
-isystem c:/cygwin/home/
jlerouge/buildbot/llvm-test-fixed-61215/i686-pc-mingw32/include -isystem
c:/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61215/i686-pc-mingw32/sys-include
-c -DHAVE_CONFIG_H -O2 -g -O2 -I.
-I../../../../llvm-test-fixed-gcc4.2-src/libi
berty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes
-Wc++-compat ../../../../llvm-test-fixed-gcc4.2-src/libiberty/pex-win32.c -o
pex-win32.o
../../../../llvm-test-fixed-gcc4.2-src/libiberty/pex-win32.c: In function
'argv_to_cmdline':
../../../../llvm-test-fixed-gcc4.2-src/libiberty/pex-win32.c:365: warning:
request for implicit conversion from 'void *' to 'char *' not permitted in C++
../../../../llvm-test-fixed-gcc4.2-src/libiberty/pex-win32.c: In function
'find_executable':
../../../../llvm-test-fixed-gcc4.2-src/libiberty/pex-win32.c:440: warning:
request for implicit conversion from 'void *' to 'char *' not permitted in C++
../../../../llvm-test-fixed-gcc4.2-src/libiberty/pex-win32.c: In function
'win32_spawn':
../../../../llvm-test-fixed-gcc4.2-src/libiberty/pex-win32.c:566: warning:
request for implicit conversion from 'void *' to 'char **' not permitted in C++
../../../../llvm-test-fixed-gcc4.2-src/libiberty/pex-win32.c:573: warning:
request for implicit conversion from 'void *' to 'char *' not permitted in C++
../../../../llvm-test-fixed-gcc4.2-src/libiberty/pex-win32.c: At top level:
../../../../llvm-test-fixed-gcc4.2-src/libiberty/pex-win32.c:900: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make[2]: *** [pex-win32.o] Error 1
make[2]: Leaving directory
`/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61215/gcc-build/i686-pc-mingw32/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory
`/c/cygwin/home/jlerouge/buildbot/llvm-test-fixed-61215/gcc-build'
make: *** [all] Error 2
SVN log:
------------------------------------------------------------------------
r61215 | djg | 2008-12-18 14:03:42 -0800 (Thu, 18 Dec 2008) | 3 lines
Changed paths:
M /llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp
When emitting instructions that define EFLAGS and the EFLAGS value isn't
used, mark the defs as dead.
------------------------------------------------------------------------
I believe those two problems are still there in the current 2.5 branch (as of
rev 64291).
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 15:16:16 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 15:16:16 -0600
Subject: [LLVMbugs] [Bug 3553] New: FPGrowth LLC Regression
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3553
Summary: FPGrowth LLC Regression
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tonic at nondot.org
CC: llvmbugs at cs.uiuc.edu
This is a regression from 2.4 (linux x86). Reduced with bugppoint.
*** The following function is being miscompiled: main_bb7
You can reproduce the problem with the command line:
llc -f bugpoint.test.bc -o bugpoint.test.bc.s
gcc ./bugpoint.safe.bc.cbe.c.so bugpoint.test.bc.s -o bugpoint.test.bc.exe
-Wl,-R.
bugpoint.test.bc.exe /home/vadve/shared/benchmarks/fpgrowth/mushroom.dat
The shared object was created with:
llc -march=c bugpoint.safe.bc -o temporary.c
gcc -xc temporary.c -O2 -o ./bugpoint.safe.bc.cbe.c.so -fPIC -shared
-fno-strict-aliasing
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 15:32:24 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 15:32:24 -0600
Subject: [LLVMbugs] [Bug 3554] New: SPEC/CFP2006/447.dealII LLC Regression
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3554
Summary: SPEC/CFP2006/447.dealII LLC Regression
Product: new-bugs
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: blocker
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tonic at nondot.org
CC: llvmbugs at cs.uiuc.edu
This is a regression from 2.4 (x86 Mac OS X). Reduced with bugpoint:
*** The following function is being miscompiled: __tcf_72252_entry_2E_ce
You can reproduce the problem with the command line:
llc -f bugpoint.test.bc -o bugpoint.test.bc.s
gcc ./bugpoint.safe.bc.cbe.c.dylib bugpoint.test.bc.s -o bugpoint.test.bc.exe
bugpoint.test.bc.exe 10
The shared object was created with:
llc -march=c bugpoint.safe.bc -o temporary.c
gcc -xc temporary.c -O2 -o ./bugpoint.safe.bc.cbe.c.dylib -fPIC -shared
-fno-strict-aliasing
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 17:43:25 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 17:43:25 -0600
Subject: [LLVMbugs] [Bug 3555] New: altivec.vaddsbs intrinsic doesn't work
at all
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3555
Summary: altivec.vaddsbs intrinsic doesn't work at all
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: PowerPC
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu
$ cat vaddsbs.ll
declare <16 x i8> @llvm.ppc.altivec.vaddsbs(<16 x i8> %a, <16 x i8>)
define void @foo(<16 x i8> %x) {
%foo = call <16 x i8> @llvm.ppc.altivec.vaddsbs(<16 x i8> %x, <16 x i8> %x)
ret void
}
$ llvm-as vaddsbs.ll
$ llc -march=ppc32 vaddsbs.bc
llc: SelectionDAGBuild.cpp:2925: void
llvm::SelectionDAGLowering::visitTargetIntrinsic(llvm::CallInst&, unsigned
int): Assertion `TLI.isTypeLegal(Op.getValueType()) && "Intrinsic uses a
non-legal type?"' failed.
0 llc 0x000000000110ae70
1 llc 0x000000000110b1c4
2 libc.so.6 0x00007f0049d1d100
3 libc.so.6 0x00007f0049d1d095 gsignal + 53
4 libc.so.6 0x00007f0049d1eaf0 abort + 272
5 libc.so.6 0x00007f0049d162df __assert_fail + 239
6 llc 0x0000000000d7bf9d
llvm::SelectionDAGLowering::visitTargetIntrinsic(llvm::CallInst&, unsigned int)
+ 685
7 llc 0x0000000000d7c7b9
llvm::SelectionDAGLowering::visitIntrinsicCall(llvm::CallInst&, unsigned int) +
145
8 llc 0x0000000000d810d6
llvm::SelectionDAGLowering::visitCall(llvm::CallInst&) + 244
9 llc 0x0000000000d8cb08 llvm::SelectionDAGLowering::visit(unsigned
int, llvm::User&) + 952
10 llc 0x0000000000d8cbfa
llvm::SelectionDAGLowering::visit(llvm::Instruction&) + 44
[..]
The type on the instruction is correct according to the comments in PowerPC.td,
and if it weren't llvm-as would've failed in the verifier. This happens for
march=ppc32 and march=ppc64.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 18:27:49 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 18:27:49 -0600
Subject: [LLVMbugs] [Bug 3556] New: GVN nukes load it shouldn't
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3556
Summary: GVN nukes load it shouldn't
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: resistor at mac.com, llvmbugs at cs.uiuc.edu
The testcase shows a function @luaO_str2d that calls strtod and strtoul with
nocapture attributes marked on them.
GVN is removing the load of 'char *endptr' after the call to strtod. It's not
allowed to do that as nobody said it wouldn't write to that pointer.
Here's the beginning of the problem function:
define hidden i32 @luaO_str2d(i8* %s, double* nocapture %result) nounwind {
entry:
%.loc = alloca i8* ; [#uses=2]
%endptr = alloca i8*, align 8 ; [#uses=6]
%0 = call double @strtod(i8* noalias %s, i8** noalias %endptr) nounwind
; [#uses=1]
store double %0, double* %result, align 8
%1 = load i8** %endptr, align 8 ; [#uses=1]
%2 = icmp eq i8* %1, %s ; [#uses=1]
br i1 %2, label %entry.bb12_crit_edge, label %bb1
There's no way GVN could remove %1 here, but it does anyways:
$ opt -gvn b.bc -debug
GVN iteration: 0
GVN removed: %1 = load i8** %endptr, align 8 ; [#uses=0]
GVN REMOVING NONLOCAL LOAD: %2 = load i8** %endptr, align 8 ;
[#uses=1]
GVN removed: %2 = load i8** %endptr, align 8 ; [#uses=0]
GVN REMOVING NONLOCAL LOAD: %5 = load i8** %endptr, align 8 ;
[#uses=1]
GVN removed: %.rle1 = phi i8* [ undef, %bb1.bb4_crit_edge ], [ undef,
%bb1.bb4_crit_edge1 ] ; [#uses=0]
GVN removed: %.rle = phi i8* [ undef, %bb4 ], [ undef, %bb1.bb5_crit_edge ]
; [#uses=0]
GVN removed: %5 = load i8** %endptr, align 8 ; [#uses=0]
GVN iteration: 1
and I can't seem to make it obviously happen with a smaller testcase (ie., just
the block of .ll quoted with ret i1 %2).
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 18:37:30 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 18:37:30 -0600
Subject: [LLVMbugs] [Bug 3556] GVN nukes load it shouldn't
In-Reply-To:
Message-ID: <200902120037.n1C0bUTs025988@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3556
Nick Lewycky changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Nick Lewycky 2009-02-11 18:37:30 ---
Yarr... if it writes %s into %endptr, then %s isn't nocapture is it.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 19:17:15 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 19:17:15 -0600
Subject: [LLVMbugs] [Bug 3557] New: llvm-2.5 Release build fail to compile
UnitTests/ SignlessTypes/cast2.cpp
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3557
Summary: llvm-2.5 Release build fail to compile
UnitTests/SignlessTypes/cast2.cpp
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: compile-fail
Severity: critical
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: dodohack at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2540)
--> (http://llvm.org/bugs/attachment.cgi?id=2540)
compile by llvm-g++ with -O0
[hwalin at earth SignlessTypes]$ /temp/obj/Release/bin/llc -f cast2.llvm.bc -o
cast2.s
Value still in symbol table! Type = 'i32' Name = 'retval7'
Value still in symbol table! Type = 'opaque' Name = ''
Value still in symbol table! Type = 'i32 *' Name = 'iftmp.1'
Value still in symbol table! Type = 'i32 *' Name = 'retval'
Value still in symbol table! Type = 'i32 *' Name = 'incnum'
Value still in symbol table! Type = 'i8 *' Name = 'inbuff_addr'
llc: /temp/llvm-2.5/lib/VMCore/ValueSymbolTable.cpp:29:
llvm::ValueSymbolTable::~ValueSymbolTable(): Assertion `vmap.empty() && "Values
remain in symbol table!"' failed.
0 llc 0x08a6f177
1 libc.so.6 0x00baff91 abort + 257
2 libc.so.6 0x00ba793e __assert_fail + 238
3 llc 0x08a0ecba
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 19:31:53 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 19:31:53 -0600
Subject: [LLVMbugs] [Bug 3558] New: ASTContext::getIntWidth, getTypeInfo,
etc should be const
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=3558
Summary: ASTContext::getIntWidth, getTypeInfo, etc should be
const
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Keywords: code-cleanup
Severity: normal
Priority: P2
Component: AST
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
There are several accessors that are "logically" const but not marked as such.
This causes const_casts in other logically const methods like
getLegacyIntegralTypeEncoding. We should just mark the data they use as
mutable or avoid calling getCanonicalType in it.
-Chris
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 20:00:00 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 20:00:00 -0600
Subject: [LLVMbugs] [Bug 3557] llvm-2.5 Release build fail to compile
UnitTests/SignlessTypes/ cast2.cpp
In-Reply-To:
Message-ID: <200902120200.n1C200Op028975@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3557
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Chris Lattner 2009-02-11 19:59:59 ---
I believe you are using GCC 4.1.x which is known broken. Please build llc with
a different compiler.
--
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.
From bugzilla-daemon at cs.uiuc.edu Wed Feb 11 20:03:01 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 11 Feb 2009 20:03:01 -0600
Subject: [LLVMbugs] [Bug 3555] altivec.vaddsbs intrinsic doesn't work at all
In-Reply-To:
Message-ID: <200902120203.n1C231pq029089@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3555
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Chris Lattner 2009-02-11 20:03:01 ---
i agree that the error message is pretty gross, but this does work fine:
$ cat t.ll
declare <16 x i8> @llvm.ppc.altivec.vaddsbs(<16 x i8> %a, <16 x i8>)
define <16 x i8> @foo(<16 x i8> %x) nounwind {
%foo = call <16 x i8> @llvm.ppc.altivec.vaddsbs(<16 x i8> %x, <16 x i8> %x)
ret <16 x i8> %foo
}
$ llvm-as < t.ll | llc -o - -march=ppc32 -mcpu=g5
...
_foo:
vaddsbs v2, v2, v2
blr
Make sure to pick a CPU with altivec support.
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 12 00:12:01 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 12 Feb 2009 00:12:01 -0600
Subject: [LLVMbugs] [Bug 3545] Fatal error when assembling RBSplitView
In-Reply-To:
Message-ID: <200902120612.n1C6C1W4004884@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3545
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner 2009-02-12 00:12:01 ---
This was fixed in clang,
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 12 00:21:43 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 12 Feb 2009 00:21:43 -0600
Subject: [LLVMbugs] [Bug 3546] Redefinition of typedef doesn' t print
previously definition in some cases.
In-Reply-To:
Message-ID: <200902120621.n1C6LhwV005321@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3546
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Chris Lattner 2009-02-12 00:21:42 ---
This is correct behavior. When you #include with a full path
"/usr/include/stdio.h", neither clang nor gcc consider the file to be in a
system header directory. This is an extwarn that is silenced in system
headers, so without that "bit" on the file, the warning gets emitted and mapped
to an error.
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 12 00:38:59 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 12 Feb 2009 00:38:59 -0600
Subject: [LLVMbugs] [Bug 3543] Certain ({ }) (?) expressions crash clang /
ccc
In-Reply-To:
Message-ID: <200902120638.n1C6cxc5006032@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3543
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Chris Lattner 2009-02-12 00:38:58 ---
I see this:
$ clang clang_crash_oeh8Rx.mi
/Users/bkr/vc/jumper/tmp/ClangCrash/test.m:6:13: error: expected expression
int x = ({ __label__ lplabel; static LOGPOINT lplog ....
^
This is because we don't support __label__ yet. If this is not the problem you
are seeing, please reopen.
*** This bug has been marked as a duplicate of bug 3429 ***
--
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.
From bugzilla-daemon at cs.uiuc.edu Thu Feb 12 00:56:33 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 12 Feb 2009 00:56:33 -0600
Subject: [LLVMbugs] [Bug 3537] Codegen prepare assertion
In-Reply-To: