From bugzilla-daemon at cs.uiuc.edu Sat Aug 1 14:05:37 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 1 Aug 2009 14:05:37 -0500
Subject: [LLVMbugs] [Bug 3742] Missing warning: "noreturn function does
return"
In-Reply-To:
Message-ID: <200908011905.n71J5bkt008572@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3742
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Daniel Dunbar 2009-08-01 14:05:36 ---
Mike did 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 Sat Aug 1 14:36:10 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 1 Aug 2009 14:36:10 -0500
Subject: [LLVMbugs] [Bug 4405] Miniperl dies with segmentation fault when
optimizer is turned on
In-Reply-To:
Message-ID: <200908011936.n71JaAT8009896@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4405
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Chris Lattner 2009-08-01 14:36:09 ---
Yes, lets assume so. Please reopen or file a new bug if not.
--
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 Aug 1 16:34:00 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 1 Aug 2009 16:34:00 -0500
Subject: [LLVMbugs] [Bug 4665] New: no warning when assigning signed value
to an unsigned variable
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4665
Summary: no warning when assigning signed value to an unsigned
variable
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
witten /tmp# cat unsigned.c
void foo(void) {
unsigned int i = -10;
}
witten /tmp# clang -Wall -c unsigned.c
witten /tmp#
as you can see there's no warning when I try to assign -10 to an unsigned
variable
--
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 Aug 1 17:42:11 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 1 Aug 2009 17:42:11 -0500
Subject: [LLVMbugs] [Bug 4661] Assertion `(Ty == 0 || Ty == V->getType()) &&
" Type mismatch in value table!"' failed. On file with named metadata
In-Reply-To:
Message-ID: <200908012242.n71MgBjK016063@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4661
Tomas Lindquist Olsen changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #2 from Tomas Lindquist Olsen 2009-08-01 17:42:11 ---
I think you may be right, as I'm not able to reproduce this right now. Sorry
about that, I'll reopen if I hit this again.
--
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 Aug 1 17:50:32 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 1 Aug 2009 17:50:32 -0500
Subject: [LLVMbugs] [Bug 4666] New: Assertion `ResolveConstants.empty() && "
Constants not resolved?"' failed. on bitcode with metadata
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4666
Summary: Assertion `ResolveConstants.empty() && "Constants not
resolved?"' failed. on bitcode with metadata
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: tomas.l.olsen at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3271)
--> (http://llvm.org/bugs/attachment.cgi?id=3271)
.ll file that doesn't work as .bc
The attached .ll file can be assembled to .bc , but the resulting .bc is not
usable:
$ llvm-as BitManip.ll
$ llc BitManip.bc
llc: /home/tomas/devel/llvm/lib/Bitcode/Reader/BitcodeReader.h:62: void
llvm::BitcodeReaderValueList::clear(): Assertion `ResolveConstants.empty() &&
"Constants not resolved?"' failed.
--
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 Aug 1 20:00:27 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 1 Aug 2009 20:00:27 -0500
Subject: [LLVMbugs] [Bug 4083] Using Clang on iPhone
In-Reply-To:
Message-ID: <200908020100.n7210RRe020746@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4083
Ted Kremenek changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|llvmbugs at cs.uiuc.edu |
Status|NEW |ASSIGNED
--- Comment #6 from Ted Kremenek 2009-08-01 20:00:26 ---
It's about me updating the clang-analyzer website. I still plan on doing 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 Sat Aug 1 20:01:56 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 1 Aug 2009 20:01:56 -0500
Subject: [LLVMbugs] [Bug 4667] New: LoopIndexSplit problem with
ENABLE_EXPENSIVE_CHECKS
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4667
Summary: LoopIndexSplit problem with ENABLE_EXPENSIVE_CHECKS
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: dpatel at apple.com, llvmbugs at cs.uiuc.edu
This test fails:
llvm/test/Transforms/LoopIndexSplit/2008-06-03-DomFrontier.ll
when I run with ENABLE_EXPENSIVE_CHECKS=1 (in a Debug build)
--
FAIL:
/Volumes/Data/Users/ddunbar/llvm/test/Transforms/LoopIndexSplit/2008-06-03-DomFrontier.ll
Failed with signal(SIGABRT) at line 1
while running:
Dominator Information for WirelessCreatePSK
Pass 'Rotate Loops'
----- Valid -----
DomFrontier for BB%entry is:
DomFrontier for BB%bb52 is: %bb52
DomFrontier for BB%bb63 is: %bb63%bb63.preheader%bb52.loopexit
DomFrontier for BB%bb68 is: %bb63
DomFrontier for BB%bb131 is: %bb63
DomFrontier for BB%bb142 is: %bb63.preheader%bb52.loopexit
DomFrontier for BB%bb63.clone.bb142.loopexit_crit_edge is: %bb142.loopexit
DomFrontier for BB%bb63.preheader is: %bb63.preheader%bb52.loopexit
DomFrontier for BB%bb142.loopexit is: %bb63.preheader%bb52.loopexit
DomFrontier for BB%bb142.preheader is: %bb52.backedge
DomFrontier for BB%bb52.loopexit is: %bb52.backedge
DomFrontier for BB%bb52.backedge is: %bb52
DomFrontier for BB%bb63.clone is: %bb142.loopexit%bb89.clone
DomFrontier for BB%bb.nph is: %bb142.loopexit
DomFrontier for BB%bb131.clone is: %bb142.loopexit%bb89.clone
DomFrontier for BB%bb89.clone is: %bb142.loopexit%bb89.clone
DomFrontier for BB%bb131.bb63.clone_crit_edge is:
%bb63.preheader%bb52.loopexit
DomFrontier for BB%bb.nph7 is: %bb52.loopexit
DomFrontier for BB%bb142.bb52.loopexit_crit_edge is: %bb52.loopexit
----- Invalid -----
DomFrontier for BB%entry is:
DomFrontier for BB%bb52 is: %bb52
DomFrontier for BB%bb63 is: %bb63.preheader%bb52.loopexit
DomFrontier for BB%bb68 is: %bb63
DomFrontier for BB%bb131 is: %bb63
DomFrontier for BB%bb142 is: %bb63.preheader%bb52.loopexit
DomFrontier for BB%bb63.clone.bb142.loopexit_crit_edge is: %bb142.loopexit
DomFrontier for BB%bb63.preheader is: %bb63.preheader%bb52.loopexit
DomFrontier for BB%bb142.loopexit is: %bb63.preheader%bb52.loopexit
DomFrontier for BB%bb142.preheader is: %bb52.backedge
DomFrontier for BB%bb52.loopexit is: %bb52.backedge
DomFrontier for BB%bb52.backedge is: %bb52
DomFrontier for BB%bb63.clone is: %bb142.loopexit%bb89.clone
DomFrontier for BB%bb.nph is: %bb142.loopexit
DomFrontier for BB%bb131.clone is: %bb142.loopexit%bb89.clone
DomFrontier for BB%bb89.clone is: %bb142.loopexit%bb89.clone
DomFrontier for BB%bb131.bb63.clone_crit_edge is:
%bb63.preheader%bb52.loopexit
DomFrontier for BB%bb.nph7 is: %bb52.loopexit
DomFrontier for BB%bb142.bb52.loopexit_crit_edge is: %bb52.loopexit
Invalid dominator info
UNREACHABLE executed at PassManager.cpp:744!
0 opt 0x000000010050f0dd PrintStackTrace(void*) + 38
1 opt 0x000000010050f769 SignalHandler(int) + 294
2 libSystem.B.dylib 0x00007fff84b3c2fa _sigtramp + 26
3 libstdc++.6.dylib 0x00007fff824eb472
__gnu_debug::_Safe_iterator_base::_M_detach() + 134
4 opt 0x0000000100060387 llvm::llvm_report_error(llvm::Twine
const&) + 0
5 opt 0x000000010046993c
llvm::PMDataManager::verifyDomInfo(llvm::Pass&, llvm::Function&) + 830
6 opt 0x000000010032c4d7
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1365
7 opt 0x0000000100469abd
llvm::FPPassManager::runOnFunction(llvm::Function&) + 341
8 opt 0x0000000100469c9e
llvm::FPPassManager::runOnModule(llvm::Module&) + 82
9 opt 0x00000001004686a0
llvm::MPPassManager::runOnModule(llvm::Module&) + 418
10 opt 0x0000000100469f99
llvm::PassManagerImpl::run(llvm::Module&) + 111
11 opt 0x0000000100469ffb llvm::PassManager::run(llvm::Module&)
+ 33
12 opt 0x000000010007e616 main + 4423
13 opt 0x0000000100063d7c start + 52
14 opt 0x0000000000000006 start + 4294558398
Stack dump:
0. Running pass 'Function Pass Manager' on module ''.
1. Running pass 'Loop Pass Manager' on function '@WirelessCreatePSK'
--
--
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 Aug 1 20:24:59 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 1 Aug 2009 20:24:59 -0500
Subject: [LLVMbugs] [Bug 4668] New: "Ran out of registers during register
allocation" on x86-32 with asm using only 6 registers
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4668
Summary: "Ran out of registers during register allocation" on
x86-32 with asm using only 6 registers
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: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3272)
--> (http://llvm.org/bugs/attachment.cgi?id=3272)
Reduced testcase
Per summary, incorrect error; to reproduce, run llc (with no special arguments)
over attached. Seems to work with "-regalloc=local".
Testcase reduced from ffmpeg (the source of all fun inline asm issues).
--
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 Aug 1 22:42:13 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 1 Aug 2009 22:42:13 -0500
Subject: [LLVMbugs] [Bug 3800] asm inline : Ran out of registers at -O0
In-Reply-To:
Message-ID: <200908020342.n723gDcS025817@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3800
Anders Carlsson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Anders Carlsson 2009-08-01 22:42:10 ---
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090727/019917.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 Aug 1 22:49:38 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 1 Aug 2009 22:49:38 -0500
Subject: [LLVMbugs] [Bug 4669] New: Assertion failure
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4669
Summary: Assertion failure
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
The code
--------
declare <1 x i64> @llvm.x86.mmx.pslli.q(<1 x i64>, i32) nounwind readnone
define <1 x i64> @test(i64 %t) nounwind {
entry:
%t1 = insertelement <1 x i64> undef, i64 %t, i32 0
%t2 = tail call <1 x i64> @llvm.x86.mmx.pslli.q(<1 x i64> %t1, i32 48)
nounwind readnone
ret <1 x i64> %t2
}
----------
Couses llc -march=x86-64 to fail with
SelectionDAG.cpp:2407: llvm::SDValue llvm::SelectionDAG::getNode(unsigned int,
llvm::DebugLoc, llvm::MVT, llvm::SDValue): Assertion
`Operand.getValueType().bitsLT(VT) && "Invalid anyext node, dst < src!"'
failed.
--
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 Aug 1 23:18:19 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 1 Aug 2009 23:18:19 -0500
Subject: [LLVMbugs] [Bug 4670] New: printf-style parameter types not checked
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4670
Summary: printf-style parameter types not checked
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: ASSIGNED
Severity: minor
Priority: P2
Component: Semantic Analyzer
AssignedTo: parseerror at gmail.com
ReportedBy: parseerror at gmail.com
CC: llvmbugs at cs.uiuc.edu
clang does not warn about a mismatch between format string and parameter types,
allowing things like, i.e.
printf("%s", 1);
i will work on getting some basic checking running, with warnings based on
GCC's 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 Sun Aug 2 08:50:01 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 2 Aug 2009 08:50:01 -0500
Subject: [LLVMbugs] [Bug 4671] New: `.gnu.linkonce.t.XXX' referenced in
section `.rodata' of XXX.o: defined in discarded section
`.gnu.linkonce.t.X' of XXX. o regression with weak_odr function using
switch table
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4671
Summary: `.gnu.linkonce.t.XXX' referenced in section `.rodata' of
XXX.o: defined in discarded section `.gnu.linkonce.t.X'
of XXX.o regression with weak_odr function using switch
table
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
Created an attachment (id=3273)
--> (http://llvm.org/bugs/attachment.cgi?id=3273)
bc 1
This was a little hard to reproduce, but seems to be caused by:
* a weak_odr uses a switch, and the switch is big enough to result in a
switch-table during codegen.
* the weak function itself goes in a .linkonce section
* the switch table in .rodata
if two modules contain the same function (and its switch table), once linking
(natively), one of the linkonce sections is removed, but the rodata is not.
Reproduce like this:
$ llc foo1.bc
$ llc foo2.bc
$ llc foo3.bc
$ gcc foo1.s foo2.s foo3.s -o foo
This produces some linker errors, most are due to these being D module and gcc
isn't linking the D runtime library, but the bug is shown as well:
`.gnu.linkonce.t._D3foo9__T2fnTiZ2fnFiZi' referenced in section `.rodata' of
/tmp/ccA6toMe.o: defined in discarded section
`.gnu.linkonce.t._D3foo9__T2fnTiZ2fnFiZi' of /tmp/ccA6toMe.o
I hope this is not too hard to fix, and took a little while to track down a
reasonable(?) 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 Sun Aug 2 14:16:15 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 2 Aug 2009 14:16:15 -0500
Subject: [LLVMbugs] [Bug 4672] New: CodeGen/SystemZ ,
CodeGen/Thumb & CodeGen/ Thumb2 fail test on Solaris.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4672
Summary: CodeGen/SystemZ , CodeGen/Thumb & CodeGen/Thumb2 fail
test on Solaris.
Product: Test Suite
Version: trunk
Platform: PC
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: DejaGNU
AssignedTo: unassignedbugs at nondot.org
ReportedBy: eocallaghan at auroraux.org
CC: llvmbugs at cs.uiuc.edu
Good day,
The follow target tests now fail on Solaris/AuroraUX hosts.
FAIL:
/export/home2/edward/lab/llvm/llvm/test/CodeGen/SystemZ/05-MemImmStores.ll
Failed with exit(1) at line 5
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/SystemZ/05-MemImmStores.ll |
llc | /usr/bin/ggrep mviy | count 1
count: expected 1 lines and got 2.
child process exited abnormally
FAIL:
/export/home2/edward/lab/llvm/llvm/test/CodeGen/SystemZ/05-MemLoadsStores.ll
Failed with exit(1) at line 1
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/SystemZ/05-MemLoadsStores.ll |
llc | /usr/bin/ggrep ly | count 2
count: expected 2 lines and got 4.
child process exited abnormally
Running /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb/dg.exp ...
Running /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/dg.exp ...
FAIL: /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldr.ll
Failed with exit(1) at line 3
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldr.ll | llc
-march=thumb -mattr=+thumb2 | /usr/bin/ggrep mov\.w | /usr/bin/ggrep 1
child process exited abnormally
FAIL: /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldrb.ll
Failed with exit(1) at line 3
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldrb.ll | llc
-march=thumb -mattr=+thumb2 | /usr/bin/ggrep mov\.w | /usr/bin/ggrep 1
child process exited abnormally
FAIL: /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldrh.ll
Failed with exit(1) at line 3
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldrh.ll | llc
-march=thumb -mattr=+thumb2 | /usr/bin/ggrep mov\.w | /usr/bin/ggrep 1
child process exited abnormally
FAIL: /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-mov3.ll
Failed with exit(1) at line 1
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-mov3.ll | llc
-march=thumb -mattr=+thumb2 | /usr/bin/ggrep {mov\.w\W*r[0-9],\W*#[0-9]*} |
/usr/bin/ggrep {#171\|#1179666\|#872428544\|#1448498774\|#66846720} | count 5
count: expected 5 lines and got 4.
child process exited abnormally
-bash-3.2$ /opt/clang/bin/llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/SystemZ/05-MemImmStores.ll |
/opt/clang/bin/llc
.text
.align 2
.globl foo1
.type foo1, at function
foo1:
.LBB1_0: # entry
lghi %r1, 1
stg %r1, 8(%r2)
br %r14
.size foo1, .-foo1
.align 2
.globl foo2
.type foo2, at function
foo2:
.LBB2_0: # entry
lhi %r1, 2
sty %r1, 4(%r2)
br %r14
.size foo2, .-foo2
.align 2
.globl foo3
.type foo3, at function
foo3:
.LBB3_0: # entry
lhi %r1, 3
sth %r1, 2(%r2)
br %r14
.size foo3, .-foo3
.align 2
.globl foo4
.type foo4, at function
foo4:
.LBB4_0: # entry
mviy 1(%r2), 4
br %r14
.size foo4, .-foo4
.align 2
.globl foo5
.type foo5, at function
foo5:
.LBB5_0: # entry
mviy -1(%r2), 4
br %r14
.size foo5, .-foo5
.align 2
.globl foo6
.type foo6, at function
foo6:
.LBB6_0: # entry
lhi %r1, 3
sthy %r1, -2(%r2)
br %r14
.size foo6, .-foo6
.section .note.GNU-stack,"", at progbits
Let me know what other information I can provide.
Cheers,
Edward O'Callaghan.
--
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 Aug 2 15:38:40 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 2 Aug 2009 15:38:40 -0500
Subject: [LLVMbugs] [Bug 4673] New: Empty classes have positive DataSize
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4673
Summary: Empty classes have positive DataSize
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: AST
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rideau3 at gmail.com
CC: llvmbugs at cs.uiuc.edu
While implementing the __is_empty type trait, I chose to use the DataSize
member of ASTRecordLayout. As it turns out, a completely empty class ("struct
foo {};") has a DataSize equal to its Size. If the class contains a
constructor, destructor, or copy assignment operator, DataSize is 0 as
expected. Other member functions do not seem to affect this. Those three
functions are the definition of a trivial class - is that the 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 Sun Aug 2 16:10:24 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 2 Aug 2009 16:10:24 -0500
Subject: [LLVMbugs] [Bug 4673] Empty classes have positive DataSize
In-Reply-To:
Message-ID: <200908022110.n72LAOxK028849@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4673
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sharparrow1 at yahoo.com
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Eli Friedman 2009-08-02 16:10:22 ---
This is working as intended; please use some other mechanism to determine
__is_empty. See http://www.codesourcery.com/public/cxx-abi/abi.html#POD .
--
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 Aug 2 16:38:13 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 2 Aug 2009 16:38:13 -0500
Subject: [LLVMbugs] [Bug 4675] New: lli: symbol lookup error:
/usr/lib/oprofile/libopagent.so.1 : undefined symbol: bfd_init
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4675
Summary: lli: symbol lookup error:
/usr/lib/oprofile/libopagent.so.1: undefined symbol:
bfd_init
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: llvmbugs at cs.uiuc.edu, jyasskin at google.com
The JIT's not working. Here's a sample of trying to run it on the 'hello world'
program:
$ llvm-commit/Debug/bin/lli hello.bc
llvm-commit/Debug/bin/lli: symbol lookup error:
/usr/lib/oprofile/libopagent.so.1: undefined symbol: bfd_init
I don't see how libopagent.so.1 requires "bfd_init".
$ ldd /usr/lib/oprofile/libopagent.so.1
linux-gate.so.1 => (0xffffe000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xf7f44000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xf7de6000)
/lib/ld-linux.so.2 (0xf7f86000)
$ nm /usr/lib/oprofile/libopagent.so.1 | grep bfd
nm: /usr/lib/oprofile/libopagent.so.1: no symbols
Here's how lli was built:
make[2]: Entering directory `/home/nicholas/llvm-commit/tools/lli'
llvm[2]: Linking Debug executable lli
g++-4.4 -I/home/nicholas/llvm-commit/include
-I/home/nicholas/llvm-commit/tools/lli -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g -fno-exceptions -fPIC
-Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter
-Wwrite-strings -g -Wl,-R -Wl,/home/nicholas/llvm-commit/Debug/bin
-Wl,-export-dynamic -L/home/nicholas/llvm-commit/Debug/lib
-L/home/nicholas/llvm-commit/Debug/lib -o
/home/nicholas/llvm-commit/Debug/bin/lli
/home/nicholas/llvm-commit/tools/lli/Debug/lli.o \
-lLLVMBitReader -lLLVMX86CodeGen -lLLVMX86Info -lLLVMSelectionDAG
-lLLVMAsmPrinter -lLLVMInterpreter -lLLVMJIT -lLLVMExecutionEngine
-lLLVMCodeGen -lLLVMScalarOpts -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis
-lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem -lopagent
-lpthread -lffi -ldl -lm -L/usr/lib/oprofile -Wl,-rpath,/usr/lib/oprofile
llvm[2]: ======= Finished Linking Debug Executable lli
make[2]: Leaving directory `/home/nicholas/llvm-commit/tools/lli'
Here's what the loader thinks about how lli was linked:
$ ldd Debug/bin/lli
linux-gate.so.1 => (0xffffe000)
libopagent.so.1 => /usr/lib/oprofile/libopagent.so.1 (0xf7f37000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xf7ee5000)
libffi.so.5 => /usr/lib/libffi.so.5 (0xf7ede000)
libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xf7eda000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf7dea000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xf7dc4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7d99000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xf7c3b000)
/lib/ld-linux.so.2 (0xf7f3c000)
--
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 Aug 2 22:01:41 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 2 Aug 2009 22:01:41 -0500
Subject: [LLVMbugs] [Bug 4669] Assertion failure
In-Reply-To:
Message-ID: <200908030301.n7331fXt008231@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4669
Rafael ??vila de Esp??ndola changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Rafael ??vila de Esp??ndola 2009-08-02 22:01:41 ---
Fixed in 77940.
--
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 Aug 3 05:34:47 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 3 Aug 2009 05:34:47 -0500
Subject: [LLVMbugs] [Bug 4677] New: Unsupported asm: input constraint with a
matching output constraint of incompatible type! in x86_64 mode
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4677
Summary: Unsupported asm: input constraint with a matching output
constraint of incompatible type! in x86_64 mode
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Keywords: regression
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: benny.kra at gmail.com
CC: llvmbugs at cs.uiuc.edu
$ cat t.c
int main() {
unsigned _data = 42;
__asm__("bswap %0":"+r"(_data));
/* asm from /usr/include/libkern/i386/_OSByteOrder.h */
}
$ clang -m64 t.c
LLVM ERROR: llvm: error: Unsupported asm: input constraint with a matching
output constraint of incompatible type!
I'm using LLVM r77969 on OS X 10.5.
--- Comment #1 from Benjamin Kramer 2009-08-03 05:34:32 ---
Created an attachment (id=3279)
--> (http://llvm.org/bugs/attachment.cgi?id=3279)
bitcode
--
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 Aug 3 18:30:05 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 3 Aug 2009 18:30:05 -0500
Subject: [LLVMbugs] [Bug 4678] New: "arguments were dropped" waring
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4678
Summary: "arguments were dropped" waring
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Interprocedural Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Compiling the c++ program
void a(...) {
}
void b() {
a(0);
}
produces the warning
WARNING: While resolving call to function '_Z1az' arguments were dropped!
At the llvm level this looks like
define void @_Z1az() {
entry:
ret void
}
define void @_Z1bv() nounwind {
entry:
call void (...)* bitcast (void ()* @_Z1az to void (...)*)(i32 0)
nounwind
ret void
}
and the warning can be produced with
opt -std-compile-opts test.bc -disable-output
--
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 Aug 3 19:06:14 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 3 Aug 2009 19:06:14 -0500
Subject: [LLVMbugs] [Bug 4679] New: Expect to see machine code sinking,
not seeing it.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4679
Summary: Expect to see machine code sinking, not seeing it.
Product: libraries
Version: trunk
Platform: PC
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: evan at fallingsnow.net
CC: llvmbugs at cs.uiuc.edu
Give the following IR and x86:
[[[ LLVM Optimized IR: bleh ]]]
define %"struct.rubinius::Object"* @0(%"struct.rubinius::VM"* %state,
%"struct.rubinius::CallFrame"* %previous, %"struct.rubinius::Dispatch"* %msg,
%"struct.rubinius::Arguments"* %args) {
entry:
%cfstk94 = alloca [9 x %"struct.rubinius::Object"*], align 4
; <[9 x %"struct.rubinius::Object"*]*> [#uses=8]
%var_mem93 = alloca [5 x %"struct.rubinius::Object"*], align 4
; <[5 x %"struct.rubinius::Object"*]*> [#uses=6]
%cfstk94.sub = getelementptr [9 x %"struct.rubinius::Object"*]*
%cfstk94, i32 0, i32 0 ; <%"struct.rubinius::Object"**> [#uses=1]
%var_mem93.sub = getelementptr [5 x %"struct.rubinius::Object"*]*
%var_mem93, i32 0, i32 0 ; <%"struct.rubinius::Object"**>
[#uses=1]
%stack = getelementptr [9 x %"struct.rubinius::Object"*]* %cfstk94, i32
0, i32 8 ; <%"struct.rubinius::Object"**> [#uses=1]
%0 = getelementptr %"struct.rubinius::Dispatch"* %msg, i32 0, i32 2
; <%"struct.rubinius::Executable"**> [#uses=1]
%msg.exec = load %"struct.rubinius::Executable"** %0 ;
<%"struct.rubinius::Executable"*> [#uses=1]
%1 = getelementptr [9 x %"struct.rubinius::Object"*]* %cfstk94, i32 0,
i32 3 ; <%"struct.rubinius::Object"**> [#uses=1]
%previous.c = bitcast %"struct.rubinius::CallFrame"* %previous to
%"struct.rubinius::Object"* ; <%"struct.rubinius::Object"*> [#uses=1]
store %"struct.rubinius::Object"* %previous.c,
%"struct.rubinius::Object"** %cfstk94.sub
%2 = getelementptr [9 x %"struct.rubinius::Object"*]* %cfstk94, i32 0,
i32 2 ; <%"struct.rubinius::Object"**> [#uses=1]
%msg.c = bitcast %"struct.rubinius::Dispatch"* %msg to
%"struct.rubinius::Object"* ; <%"struct.rubinius::Object"*>
[#uses=1]
store %"struct.rubinius::Object"* %msg.c, %"struct.rubinius::Object"**
%2
%cm.c = getelementptr %"struct.rubinius::Executable"* %msg.exec, i32 0,
i32 0 ; <%"struct.rubinius::Object"*> [#uses=1]
store %"struct.rubinius::Object"* %cm.c, %"struct.rubinius::Object"**
%1
%3 = getelementptr [9 x %"struct.rubinius::Object"*]* %cfstk94, i32 0,
i32 4 ; <%"struct.rubinius::Object"**> [#uses=1]
store %"struct.rubinius::Object"* inttoptr (i32 16 to
%"struct.rubinius::Object"*), %"struct.rubinius::Object"** %3
%4 = getelementptr [9 x %"struct.rubinius::Object"*]* %cfstk94, i32 0,
i32 5 ; <%"struct.rubinius::Object"**> [#uses=1]
%5 = getelementptr [9 x %"struct.rubinius::Object"*]* %cfstk94, i32 0,
i32 7 ; <%"struct.rubinius::Object"**> [#uses=1]
%vars.c = bitcast [5 x %"struct.rubinius::Object"*]* %var_mem93 to
%"struct.rubinius::Object"* ; <%"struct.rubinius::Object"*> [#uses=1]
store %"struct.rubinius::Object"* %vars.c, %"struct.rubinius::Object"**
%5
store %"struct.rubinius::Object"* null, %"struct.rubinius::Object"**
%var_mem93.sub
%6 = getelementptr %"struct.rubinius::Arguments"* %args, i32 0, i32 0
; <%"struct.rubinius::Object"**> [#uses=1]
%args.recv = load %"struct.rubinius::Object"** %6 ;
<%"struct.rubinius::Object"*> [#uses=3]
%7 = getelementptr [5 x %"struct.rubinius::Object"*]* %var_mem93, i32
0, i32 2 ; <%"struct.rubinius::Object"**> [#uses=1]
store %"struct.rubinius::Object"* %args.recv,
%"struct.rubinius::Object"** %7
%8 = getelementptr %"struct.rubinius::Dispatch"* %msg, i32 0, i32 1
; <%"struct.rubinius::Module"**> [#uses=1]
%msg.module = load %"struct.rubinius::Module"** %8 ;
<%"struct.rubinius::Module"*> [#uses=1]
%9 = getelementptr [5 x %"struct.rubinius::Object"*]* %var_mem93, i32
0, i32 4 ; <%"struct.rubinius::Object"**> [#uses=1]
%msg.module.c = getelementptr %"struct.rubinius::Module"* %msg.module,
i32 0, i32 0 ; <%"struct.rubinius::Object"*> [#uses=1]
store %"struct.rubinius::Object"* %msg.module.c,
%"struct.rubinius::Object"** %9
%10 = getelementptr %"struct.rubinius::Arguments"* %args, i32 0, i32 1
; <%"struct.rubinius::Object"**> [#uses=1]
%args.block = load %"struct.rubinius::Object"** %10 ;
<%"struct.rubinius::Object"*> [#uses=1]
%11 = getelementptr [5 x %"struct.rubinius::Object"*]* %var_mem93, i32
0, i32 3 ; <%"struct.rubinius::Object"**> [#uses=1]
store %"struct.rubinius::Object"* %args.block,
%"struct.rubinius::Object"** %11
%12 = getelementptr [5 x %"struct.rubinius::Object"*]* %var_mem93, i32
0, i32 1 ; <%"struct.rubinius::Object"**> [#uses=1]
store %"struct.rubinius::Object"* null, %"struct.rubinius::Object"**
%12
store %"struct.rubinius::Object"* %args.recv,
%"struct.rubinius::Object"** %stack
store %"struct.rubinius::Object"* inttoptr (i32 2 to
%"struct.rubinius::Object"*), %"struct.rubinius::Object"** %4
%class_pos = getelementptr %"struct.rubinius::Object"* %args.recv, i32
0, i32 0, i32 1 ; <%"struct.rubinius::Class"**> [#uses=1]
%ref_class = load %"struct.rubinius::Class"** %class_pos
; <%"struct.rubinius::Class"*> [#uses=1]
%class_id_pos = getelementptr %"struct.rubinius::Class"* %ref_class,
i32 0, i32 3 ; [#uses=1]
%class_id = load i32* %class_id_pos ; [#uses=1]
%check_class_id = icmp eq i32 %class_id, 1076 ;
[#uses=1]
br i1 %check_class_id, label %correct_class, label %use_send
correct_class: ; preds = %entry
ret %"struct.rubinius::Object"* inttoptr (i32 23 to
%"struct.rubinius::Object"*)
use_send: ; preds = %entry
%call_frame = bitcast [9 x %"struct.rubinius::Object"*]* %cfstk94 to
%"struct.rubinius::CallFrame"* ; <%"struct.rubinius::CallFrame"*>
[#uses=1]
%13 = call %"struct.rubinius::Object"*
@rbx_continue_uncommon(%"struct.rubinius::VM"* %state,
%"struct.rubinius::CallFrame"* %call_frame, %"struct.rubinius::Arguments"*
%args, i32 0) ; <%"struct.rubinius::Object"*> [#uses=1]
ret %"struct.rubinius::Object"* %13
}
[[[ JIT Machine Code ]]]
0x26b1010 sub $0x4c, %esp
0x26b1013 mov 0x58(%esp), %eax
0x26b1017 mov 0x8(%eax), %ecx
0x26b101a mov 0x54(%esp), %edx
0x26b101e mov %edx, 0x28(%esp)
0x26b1022 mov %eax, 0x30(%esp)
0x26b1026 mov %ecx, 0x34(%esp)
0x26b102a mov $0x10, 0x38(%esp)
0x26b1032 lea 0x14(%esp), %ecx
0x26b1036 mov %ecx, 0x44(%esp)
0x26b103a mov $0x0, 0x14(%esp)
0x26b1042 mov 0x5c(%esp), %ecx
0x26b1046 mov (%ecx), %edx
0x26b1048 mov %edx, 0x1c(%esp)
0x26b104c mov 0x4(%eax), %eax
0x26b104f mov %eax, 0x24(%esp)
0x26b1053 mov 0x4(%ecx), %eax
0x26b1056 mov %eax, 0x20(%esp)
0x26b105a mov $0x0, 0x18(%esp)
0x26b1062 mov %edx, 0x48(%esp)
0x26b1066 mov $0x2, 0x3c(%esp)
0x26b106e mov 0x4(%edx), %eax
0x26b1071 cmp $0x434, 0x24(%eax)
0x26b1078 jnz 0x77 ; 0x26b1087
0x26b107e mov $0x17, %eax
0x26b1083 add $0x4c, %esp
0x26b1086 ret
0x26b1087 mov 0x50(%esp), %eax
0x26b108b mov %ecx, 0x8(%esp)
0x26b108f lea 0x28(%esp), %ecx
0x26b1093 mov %ecx, 0x4(%esp)
0x26b1097 mov %eax, (%esp)
0x26b109a mov $0x0, 0xc(%esp)
0x26b10a2 call 0xfffffffffda6c5c0 ; 0x11d5d0 rbx_continue_uncommon
0x26b10a7 add $0x4c, %esp
0x26b10aa ret
The vast majority of those mov instructions before 0x26b106e could be sunk to
around 0x26b1087, as their values are unused in the terminating branch starting
on 0x26b107e.
Is there a construct in here that is preventing sinking? Is the sinker not
working correctly? Please advise.
--
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 Aug 3 19:27:40 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 3 Aug 2009 19:27:40 -0500
Subject: [LLVMbugs] [Bug 4643] pathological inlining/unrolling causes
SelectionDAG:: ComputeMaskedBits to eat time
In-Reply-To:
Message-ID: <200908040027.n740RekN000352@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4643
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gohman at apple.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Dan Gohman 2009-08-03 19:27:29 ---
With opt -O3 and then llc on the result, the problem becomes very noticeable.
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090803/083460.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 Aug 3 22:37:55 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 3 Aug 2009 22:37:55 -0500
Subject: [LLVMbugs] [Bug 4171] darwin-string-literals test failure on ppc32
for utf-16 string
In-Reply-To:
Message-ID: <200908040337.n743btXX006289@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4171
Mark Cianciosa changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Mark Cianciosa 2009-08-03 22:37:53 ---
I can confirm this test now passes on powerpc.
--
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 Aug 3 22:45:27 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 3 Aug 2009 22:45:27 -0500
Subject: [LLVMbugs] [Bug 4678] "arguments were dropped" warning
In-Reply-To:
Message-ID: <200908040345.n743jRbi006545@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4678
Rafael ??vila de Esp??ndola changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Rafael ??vila de Esp??ndola 2009-08-03 22:45:18 ---
Fixed in revision 78039.
--
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 Aug 4 01:00:50 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 4 Aug 2009 01:00:50 -0500
Subject: [LLVMbugs] [Bug 4666] Assertion `ResolveConstants.empty() &&
"Constants not resolved?" ' failed. on bitcode with metadata
In-Reply-To:
Message-ID: <200908040600.n7460ohE011252@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4666
devang.patel changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |devang.patel at gmail.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from devang.patel 2009-08-04 01:00:50 ---
Fixed. Rev - 78056.
--
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 Aug 4 04:23:01 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 4 Aug 2009 04:23:01 -0500
Subject: [LLVMbugs] [Bug 4680] New: Assembler error due to invalid 'orn'
instruction
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4680
Summary: Assembler error due to invalid 'orn' instruction
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3281)
--> (http://llvm.org/bugs/attachment.cgi?id=3281)
Bytecode
Consider the attached bitcode (md5 from libiberty).
Assembler rejects the generated assembly with the following messages:
md5.s: Assembler messages:
md5.s:563: Error: bad instruction `orn r7,r5,r3'
md5.s:572: Error: bad instruction `orn r7,lr,r12'
md5.s:580: Error: bad instruction `orn r6,r3,r5'
md5.s:588: Error: bad instruction `orn r6,r12,lr'
md5.s:597: Error: bad instruction `orn r6,r5,r3'
md5.s:605: Error: bad instruction `orn lr,r2,r12'
md5.s:614: Error: bad instruction `orn lr,r3,r5'
md5.s:622: Error: bad instruction `orn lr,r12,r2'
md5.s:631: Error: bad instruction `orn r5,lr,r3'
md5.s:640: Error: bad instruction `orn r5,r2,r12'
md5.s:648: Error: bad instruction `orn r5,r3,lr'
md5.s:657: Error: bad instruction `orn r5,r12,r2'
md5.s:665: Error: bad instruction `orn r4,lr,r3'
md5.s:674: Error: bad instruction `orn r4,r2,r12'
md5.s:683: Error: bad instruction `orn r4,r3,lr'
md5.s:693: Error: bad instruction `orn r4,r12,r2'
--
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 Aug 4 06:25:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 4 Aug 2009 06:25:36 -0500
Subject: [LLVMbugs] [Bug 4681] New: Live intervals assertions durting
compilation of libmudflap
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4681
Summary: Live intervals assertions durting compilation of
libmudflap
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3282)
--> (http://llvm.org/bugs/attachment.cgi?id=3282)
Bugpoint reduced testcase
Consider the attached bytecode. llc currently asserts with:
./llc bugpoint-reduced-simplified.bc
llc:
/home/asl/proj/llvm/src_arm/include/llvm/CodeGen/LiveIntervalAnalysis.h:136:
llvm::LiveInterval& llvm::LiveIntervals::getInterval(unsigned int): Assertion
`I != r2iMap_.end() && "Interval does not exist for register"' failed.
0 llc 0x0000000000fce3e4
1 llc 0x0000000000fce902
2 libpthread.so.0 0x00007f8a403d36f0
3 libc.so.6 0x00007f8a3f70f9c5 gsignal + 53
4 libc.so.6 0x00007f8a3f710e70 abort + 272
5 libc.so.6 0x00007f8a3f708edf __assert_fail + 239
6 llc 0x0000000000d4b4ff
llvm::LiveIntervals::getInterval(unsigned int) + 169
7 llc 0x0000000000d87eb7
llvm::SimpleRegisterCoalescing::JoinCopy(llvm::CopyRec&, bool&) + 5293
8 llc 0x0000000000d8941c
llvm::SimpleRegisterCoalescing::CopyCoalesceInMBB(llvm::MachineBasicBlock*,
std::vector >&) + 1318
9 llc 0x0000000000d8960a
llvm::SimpleRegisterCoalescing::joinIntervals() + 234
10 llc 0x0000000000d89cce
llvm::SimpleRegisterCoalescing::runOnMachineFunction(llvm::MachineFunction&) +
746
11 llc 0x0000000000d13877
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 83
12 llc 0x0000000000f4fa6d
llvm::FPPassManager::runOnFunction(llvm::Function&) + 341
13 llc 0x0000000000f5005d
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 111
14 llc 0x0000000000f50204
llvm::FunctionPassManager::run(llvm::Function&) + 112
15 llc 0x000000000080b94e main + 3164
16 libc.so.6 0x00007f8a3f6fca44 __libc_start_main + 244
17 llc 0x0000000000809d49
Stack dump:
0. Program arguments: ./llc bugpoint-reduced-simplified.bc
1. Running pass 'Simple Register Coalescing' on function
'@__mf_heuristic_check'
This breaks llvm-gcc build on ARM
--
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 Aug 4 11:18:59 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 4 Aug 2009 11:18:59 -0500
Subject: [LLVMbugs] [Bug 4680] Assembler error due to invalid 'orn'
instruction
In-Reply-To:
Message-ID: <200908041618.n74GIxae010606@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4680
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |evan.cheng at apple.com
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Evan Cheng 2009-08-04 11:18:58 ---
That's an assembler bug. Can you get a newer version of gas or you can disable
it in the td file.
--
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 Aug 4 11:55:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 4 Aug 2009 11:55:26 -0500
Subject: [LLVMbugs] [Bug 4528] Internal compiler error in
RegisterScavenging.cpp
In-Reply-To:
Message-ID: <200908041655.n74GtQxb012003@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4528
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Evan Cheng 2009-08-04 11:54:16 ---
Fixed.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090803/083523.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 Aug 4 12:41:57 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 4 Aug 2009 12:41:57 -0500
Subject: [LLVMbugs] [Bug 4671] `.gnu.linkonce.t.XXX' referenced in section
`.rodata' of XXX.o: defined in discarded section `.gnu.linkonce.t.X' of
XXX. o regression with weak_odr function using switch table
In-Reply-To:
Message-ID: <200908041741.n74Hfvvr013678@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4671
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #9 from Chris Lattner 2009-08-04 12:40:17 ---
Yes, I think this was a binutils bug, the generated code looks ok to me.
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 Tue Aug 4 13:19:43 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 4 Aug 2009 13:19:43 -0500
Subject: [LLVMbugs] [Bug 3800] asm inline : Ran out of registers at -O0
In-Reply-To:
Message-ID: <200908041819.n74IJhEL014916@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3800
Anders Carlsson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #5 from Anders Carlsson 2009-08-04 13:19:14 ---
The fix for this lead to PR4677 so I backed it 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 Tue Aug 4 13:19:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 4 Aug 2009 13:19:48 -0500
Subject: [LLVMbugs] [Bug 4677] Unsupported asm: input constraint with a
matching output constraint of incompatible type! in x86_64 mode
In-Reply-To:
Message-ID: <200908041819.n74IJmiU014929@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4677
Anders Carlsson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Anders Carlsson 2009-08-04 13:19:37 ---
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090803/019990.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 Aug 4 13:47:59 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 4 Aug 2009 13:47:59 -0500
Subject: [LLVMbugs] [Bug 4681] Live intervals assertions durting compilation
of libmudflap
In-Reply-To:
Message-ID: <200908041847.n74IlxlR015789@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4681
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Evan Cheng 2009-08-04 13:47:24 ---
Fixed.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090803/083540.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 Aug 4 16:13:19 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 4 Aug 2009 16:13:19 -0500
Subject: [LLVMbugs] [Bug 4682] New: Invalid assembler emitted for some thumb
instructions
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4682
Summary: Invalid assembler emitted for some thumb instructions
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3284)
--> (http://llvm.org/bugs/attachment.cgi?id=3284)
picadd.bc
Consider the attached 2 testcases
1. Reproduce with llc picadd.bc -relocation-model=pic
Invalid "add.w r0, r0, pc" instruction is emitted. It has 3 register operands
and 'w' suffix thus it's treated as T3 instruction by assembler (no other
variant is possible due to 'w' suffix - assembler *must* use wide variant).
However It's not possible to use sp and pc registers as dest and rhs registers
for this encoding.
It's really should be T1 or T2 instruction (and thus - narrow) with dst = lhs.
2. Reproduce with llc subsp.bc
Invalid "sub.w sp, r7, #8" instruction is emitted.
--
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 Aug 4 22:25:54 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 4 Aug 2009 22:25:54 -0500
Subject: [LLVMbugs] [Bug 4684] New: Unknown loc info!
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4684
Summary: Unknown loc info!
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: wendling at apple.com
CC: llvmbugs at cs.uiuc.edu
$cat foo.ll
; 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-apple-darwin9.8"
declare i64 @func2(<1 x i64>)
define void @func1(i32* %dest, i32 %length, i32 %src, i32 %const_alpha) {
entry:
br i1 undef, label %bb, label %bb6
bb: ; preds = %entry
br label %bb4
bb3: ; preds = %bb4
%0 = call i64 @func2(<1 x i64> undef)
br label %bb4
bb4: ; preds = %bb3, %bb
br i1 undef, label %bb3, label %bb9
bb6: ; preds = %entry
unreachable
bb9: ; preds = %bb4
ret void
}
$ llvm-as < foo.ll | llc -O0 -mattr=+mmx
Unknown loc info!
UNREACHABLE executed at
/Users/void/llvm/llvm.src/lib/Target/X86/X86FastISel.cpp:1322!
0 llc 0x00a70a50 llvm::sys::SetInterruptFunction(void (*)()) +
82
1 llc 0x00a70e3f llvm::sys::SetInterruptFunction(void (*)()) +
1089
2 libSystem.B.dylib 0x91bf62bb _sigtramp + 43
3 libSystem.B.dylib 0xffffffff _sigtramp + 1849728367
4 libSystem.B.dylib 0x91c6a23a raise + 26
5 libSystem.B.dylib 0x91c76679 abort + 73
6 llc 0x00a522f7 llvm::llvm_unreachable_internal(char const*,
char const*, unsigned int) + 201
7 llc 0x004442c8 (anonymous
namespace)::X86FastISel::X86SelectCall(llvm::Instruction*) + 2274
8 llc 0x004453ff (anonymous
namespace)::X86FastISel::TargetSelectInstruction(llvm::Instruction*) + 439
9 llc 0x00709b67
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function&,
llvm::MachineFunction&, llvm::MachineModuleInfo*, llvm::DwarfWriter*,
llvm::TargetInstrInfo const&) + 1495
10 llc 0x0070a22d
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 903
11 llc 0x007cc2b1
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 77
12 llc 0x009e90b8
llvm::FPPassManager::runOnFunction(llvm::Function&) + 304
13 llc 0x009e9328
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 112
14 llc 0x009e943c
llvm::FunctionPassManager::run(llvm::Function&) + 130
15 llc 0x000033ba main + 3664
16 llc 0x00001f36 start + 54
Stack dump:
0. Program arguments: llc -O0 -mattr=+mmx
1. Running pass 'X86 DAG->DAG Instruction Selection' on function '@func1'
cat foo.ll
Abort trap
--
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 Aug 5 00:53:30 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 5 Aug 2009 00:53:30 -0500
Subject: [LLVMbugs] [Bug 4684] Unknown loc info!
In-Reply-To:
Message-ID: <200908050553.n755rUIi006327@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4684
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gohman at apple.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Dan Gohman 2009-08-05 00:53:29 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090803/083621.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 Aug 5 01:38:31 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 5 Aug 2009 01:38:31 -0500
Subject: [LLVMbugs] [Bug 4657] register scavenger asserts with subreg
lowering
In-Reply-To:
Message-ID: <200908050638.n756cUUb007752@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4657
Jakob Stoklund Olesen changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Jakob Stoklund Olesen 2009-08-05 01:38:25 ---
Fixed: http://llvm.org/viewvc/llvm-project?rev=77989&view=rev
--
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 Aug 5 07:05:51 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 5 Aug 2009 07:05:51 -0500
Subject: [LLVMbugs] [Bug 4685] New: Assertion failed: ((Other.isNull() ||
Other->isCanonical()) && "Type is not canonical!")
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4685
Summary: Assertion failed: ((Other.isNull() || Other-
>isCanonical()) && "Type is not canonical!")
Product: clang
Version: unspecified
Platform: Other
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: pawel.worach at gmail.com
CC: llvmbugs at cs.uiuc.edu
Blocks: 3696
Code from gcc/libiberty/xmalloc.c.
# clang -c t.c
Assertion failed: ((Other.isNull() || Other->isCanonical()) && "Type is not
canonical!"), function CreateUnsafe, file
/usr/src-local/llvm/tools/clang/lib/AST/../../include/clang/AST/CanonicalType.h,
line 708.
Stack dump:
0. Program arguments: /usr/opt/llvm/bin/../libexec/clang-cc -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name t.c
--relocation-model static --disable-fp-elim --unwind-tables=1 --mcpu=x86-64
--fmath-errno=1 -fdiagnostics-show-option -o /tmp/cc-MBwYsq.s -x c t.c
1. t.c:7:1: current parser token '{'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
# cat t.c
typedef unsigned long size_t;
extern void xmalloc_failed (size_t) __attribute__ ((__noreturn__));
void
xmalloc_failed (size_t size)
{
}
--
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 Aug 5 12:44:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 5 Aug 2009 12:44:06 -0500
Subject: [LLVMbugs] [Bug 4572] X86: invalid scale by ESP formed
In-Reply-To:
Message-ID: <200908051744.n75Hi6Tr009807@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4572
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #16 from Dan Gohman 2009-08-05 12:43:53 ---
The fix is now enabled with this commit:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090803/083684.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 Aug 5 14:01:04 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 5 Aug 2009 14:01:04 -0500
Subject: [LLVMbugs] [Bug 4686] New: Another 2 regscavenger assertions
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4686
Summary: Another 2 regscavenger assertions
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3287)
--> (http://llvm.org/bugs/attachment.cgi?id=3287)
regscav2.ll
Consider two attached .ll files. Both causes different assertions in
regscavenger.
Reproduce with llc -mattr=+vfp2
--
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 Aug 5 14:05:55 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 5 Aug 2009 14:05:55 -0500
Subject: [LLVMbugs] [Bug 4685] Assertion failed: ((Other.isNull() ||
Other->isCanonical()) && " Type is not canonical!")
In-Reply-To:
Message-ID: <200908051905.n75J5tGK012437@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4685
Douglas Gregor changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Douglas Gregor 2009-08-05 14:05:34 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090803/020018.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 Aug 5 22:08:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 5 Aug 2009 22:08:26 -0500
Subject: [LLVMbugs] [Bug 4687] New: arm10tdmi (armv5) does not support strd
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4687
Summary: arm10tdmi (armv5) does not support strd
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3289)
--> (http://llvm.org/bugs/attachment.cgi?id=3289)
testcase
LLVM is emitting bad assembly for the attached testcase:
$ llc -O2 -mcpu=arm10tdmi x.bc -o - | grep cpu
.cpu arm10tdmi
$ llc -O2 -mcpu=arm10tdmi x.bc -o - | grep strd
strd r0, [r6]
strd r0, [r6, #+8]
$ llc -O2 -mcpu=arm10tdmi x.bc -o - | as
{standard input}: Assembler messages:
{standard input}:545: Error: selected processor does not support `strd r0,[r6]'
{standard input}:551: Error: selected processor does not support `strd
r0,[r6,#+8]'
Apparently ARMv5 is too old for the 'strd' instruction. (Or perhaps my binutils
just thinks 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 Thu Aug 6 01:24:33 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 6 Aug 2009 01:24:33 -0500
Subject: [LLVMbugs] [Bug 4670] printf-style parameter types not checked
In-Reply-To:
Message-ID: <200908060624.n766OXOJ003819@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4670
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sharparrow1 at yahoo.com
Status|ASSIGNED |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Eli Friedman 2009-08-06 01:24:32 ---
*** This bug has been marked as a duplicate of bug 4468 ***
--
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 Aug 6 04:15:39 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 6 Aug 2009 04:15:39 -0500
Subject: [LLVMbugs] [Bug 4688] New: Fallout from recent changes in call
lowering
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4688
Summary: Fallout from recent changes in call lowering
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: gohman at apple.com, llvmbugs at cs.uiuc.edu
Created an attachment (id=3290)
--> (http://llvm.org/bugs/attachment.cgi?id=3290)
testcase
Consider the attached testcase (reduction from Qt). Running llc yields:
$ ./llc bugpoint-reduced-simplified.bc
llc:
/home/asl/proj/llvm/src/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp:4473:
void llvm::SelectionDAGLowering::LowerCallTo(llvm::CallSite, llvm::SDValue,
bool, llvm::MachineBasicBlock*): Assertion `(isTailCall || CS.getType() ==
Type::VoidTy || Result.first.getNode()) && "Non-null value expected with
non-void non-tail call!"' failed.
0 llc 0x0000000000e77880
1 llc 0x0000000000e77d9e
2 libpthread.so.0 0x00007fe2649986f0
3 libc.so.6 0x00007fe263cd49c5 gsignal + 53
4 libc.so.6 0x00007fe263cd5e70 abort + 272
5 libc.so.6 0x00007fe263ccdedf __assert_fail + 239
6 llc 0x0000000000aa71c5
llvm::SelectionDAGLowering::LowerCallTo(llvm::CallSite, llvm::SDValue, bool,
llvm::MachineBasicBlock*) + 1763
7 llc 0x0000000000ab6ad2
llvm::SelectionDAGLowering::visitCall(llvm::CallInst&) + 2950
8 llc 0x0000000000ac12a6
llvm::SelectionDAGLowering::visit(unsigned int, llvm::User&) + 1008
9 llc 0x0000000000ac136a
llvm::SelectionDAGLowering::visit(llvm::Instruction&) + 44
10 llc 0x0000000000ad77c8
llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*,
llvm::ilist_iterator,
llvm::ilist_iterator) + 96
11 llc 0x0000000000ad8363
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function&,
llvm::MachineFunction&, llvm::MachineModuleInfo*, llvm::DwarfWriter*,
llvm::TargetInstrInfo const&) + 2383
12 llc 0x0000000000ad925f
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 947
13 llc 0x0000000000bc1d77
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 83
14 llc 0x0000000000dfaeb5
llvm::FPPassManager::runOnFunction(llvm::Function&) + 341
15 llc 0x0000000000dfb4a5
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 111
16 llc 0x0000000000dfb64c
llvm::FunctionPassManager::run(llvm::Function&) + 112
17 llc 0x0000000000401e4e main + 3164
18 libc.so.6 0x00007fe263cc1a44 __libc_start_main + 244
19 llc 0x0000000000400249
Stack dump:
0. Program arguments: ./llc bugpoint-reduced-simplified.bc
1. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_ZN15QtSharedPointer22internalSafetyCheckAddEPVKv'
--
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 Aug 6 06:38:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 6 Aug 2009 06:38:06 -0500
Subject: [LLVMbugs] [Bug 4689] New: Regalloc problems due to subregs?
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4689
Summary: Regalloc problems due to subregs?
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: evan.cheng at apple.com, gohman at apple.com,
llvmbugs at cs.uiuc.edu
Created an attachment (id=3291)
--> (http://llvm.org/bugs/attachment.cgi?id=3291)
Testcase
Recent changes to support kernel code model uncovered interesting bug (however,
it's not connected with it at all, since medium code model is also broken!)
Consider the testcase attached. The bb in question is for.body170
In medium code model we have in that file:
movabsq $Xrsvd, %r10d
in kernel -
movq $Xrsvd, %r9d
which is definitely wrong.
I verified - all stuff are of i64 types during isel and instructions selected
in questions are MOV64ri and MOV64ri32 correspondingly having 64 bit output
reg. I haven't looked more, maybe remat introduces invalid reg or something
like this.
The problem seems to have been unnoticed because only small code model is
widely use.
--
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 Aug 6 10:38:37 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 6 Aug 2009 10:38:37 -0500
Subject: [LLVMbugs] [Bug 4688] Fallout from recent changes in call lowering
In-Reply-To:
Message-ID: <200908061538.n76FcbdP004432@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4688
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Dan Gohman 2009-08-06 10:38:36 ---
This is fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090803/083751.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 Aug 6 11:49:35 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 6 Aug 2009 11:49:35 -0500
Subject: [LLVMbugs] [Bug 4638] Missing simplification of calls
In-Reply-To:
Message-ID: <200908061649.n76GnZrc007472@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4638
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #7 from Chris Lattner 2009-08-06 11:49:34 ---
The front-ends shouldn't be in the business of deciding whether they can cheat
on calling conventions. We expect the optimizers to clean things up after
them. It looks like it is happening in this case, so closing as 'works
correctly'. Feel free to file optimizer enhancement requests if other cases
are not handled so well.
--
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 Aug 6 14:54:37 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 6 Aug 2009 14:54:37 -0500
Subject: [LLVMbugs] [Bug 4693] New: arm llvm-gcc build missing symbol
___aeabi_cdcmple but __aeabi_cdcmple is present
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4693
Summary: arm llvm-gcc build missing symbol ___aeabi_cdcmple but
__aeabi_cdcmple is present
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: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu
Building llvm-gcc on armv7 linux natively makes it to stage two after
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090803/083768.html
is applied. Once there, we get this problem in configure:
configure:2118: checking for C compiler default output file name
configure:2121: /home/nlewycky/llvm-gcc/build/./prev-gcc/xgcc
-B/home/nlewycky/llvm-gcc/build/./prev-gcc/
-B/home/nlewycky/llvm-gcc/install/armv7l-unknown-linux-gnueabi/bin/ -g -O2
conftest.c >&5
/home/nlewycky/llvm-gcc/build/./prev-gcc/cc1: symbol lookup error:
/home/nlewycky/llvm-gcc/build/./prev-gcc/libgcc_s.so.1: undefined symbol:
___aeabi_cdcmple
configure:2124: $? = 1
[snip trivial program]
Checking libgcc_s.so.1 with nm, we see:
U ___aeabi_cdcmple
U ___aeabi_cdrcmple
U ___aeabi_cfcmple
U ___aeabi_cfrcmple
U ___cmpdf2
U ___cmpsf2
[...]
0000316c T __aeabi_cdcmpeq
0000316c T __aeabi_cdcmple
0000315c T __aeabi_cdrcmple
00003878 T __aeabi_cfcmpeq
00003878 T __aeabi_cfcmple
00003870 T __aeabi_cfrcmple
0000329c T __aeabi_d2f
0000320c T __aeabi_d2iz
00005fa8 T __aeabi_d2lz
[many many more defined]
The difference is that the undefined symbols have three underscores while the
defined ones have two. How'd that happen?
--
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 Aug 6 18:01:49 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 6 Aug 2009 18:01:49 -0500
Subject: [LLVMbugs] [Bug 4626] UNREACHABLE executed at BranchFolding.cpp:465!
In-Reply-To:
Message-ID: <200908062301.n76N1nq3023635@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4626
Dale Johannesen changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Dale Johannesen 2009-08-06 18:01:48 ---
Fixed here.
http://llvm.org/viewvc/llvm-project?rev=78351&view=rev
--
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 Aug 6 19:04:52 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 6 Aug 2009 19:04:52 -0500
Subject: [LLVMbugs] [Bug 4668] "Ran out of registers during register
allocation" on x86-32 with asm using only 6 registers
In-Reply-To:
Message-ID: <200908070004.n7704qSP031455@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4668
Dale Johannesen changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dalej at apple.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Dale Johannesen 2009-08-06 19:04:52 ---
This works for me (not my doing). I've put the example in the testsuite to
keep it from regressing; this is a fragile area.
--
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 Aug 6 19:35:14 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 6 Aug 2009 19:35:14 -0500
Subject: [LLVMbugs] [Bug 4659] thumb-2 emits invalid instruction sub.w sp, rX,
#xx
In-Reply-To:
Message-ID: <200908070035.n770ZE35002893@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4659
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Evan Cheng 2009-08-06 19:35:14 ---
Fixed.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090803/083797.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 Aug 6 19:35:25 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 6 Aug 2009 19:35:25 -0500
Subject: [LLVMbugs] [Bug 4682] Invalid assembler emitted for some thumb
instructions
In-Reply-To:
Message-ID: <200908070035.n770ZPWm002938@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4682
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Evan Cheng 2009-08-06 19:35:24 ---
Fixed.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090803/083797.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 Aug 6 20:33:10 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 6 Aug 2009 20:33:10 -0500
Subject: [LLVMbugs] [Bug 4696] New: [meta] The AuroraUX source tree does not
fully compile with Clang
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4696
Summary: [meta] The AuroraUX source tree does not fully compile
with Clang
Product: clang
Version: unspecified
Platform: PC
URL: http://auroraux.org
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: eocallaghan at auroraux.org
CC: llvmbugs at cs.uiuc.edu
Depends on: 3679,4672,4690,4695
I'm creating this bug report, so we can keep track of all the reports that need
to be resolved before we can fully compile AuroraUX with 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 Aug 6 23:17:25 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 6 Aug 2009 23:17:25 -0500
Subject: [LLVMbugs] [Bug 4668] "Ran out of registers during register
allocation" on x86-32 with asm using only 6 registers
In-Reply-To:
Message-ID: <200908070417.n774HPBG031486@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4668
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #2 from Eli Friedman 2009-08-06 23:17:24 ---
The original is still breaking; I'll attach it in a moment.
--
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 Aug 7 02:58:43 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 7 Aug 2009 02:58:43 -0500
Subject: [LLVMbugs] [Bug 4686] Another 2 regscavenger assertions
In-Reply-To:
Message-ID: <200908070758.n777whrB005304@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4686
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Evan Cheng 2009-08-07 02:58:41 ---
Fixed.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090803/083812.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 Aug 7 11:21:00 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 7 Aug 2009 11:21:00 -0500
Subject: [LLVMbugs] [Bug 3333] No warning when shifting invalid amount
In-Reply-To:
Message-ID: <200908071621.n77GL0C4007638@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3333
Ryan Flynn changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #1 from Ryan Flynn 2009-08-07 11:20:59 ---
r78385
--
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 Aug 7 13:57:41 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 7 Aug 2009 13:57:41 -0500
Subject: [LLVMbugs] [Bug 4667] LoopIndexSplit problem with
ENABLE_EXPENSIVE_CHECKS
In-Reply-To:
Message-ID: <200908071857.n77IvfUC027986@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4667
devang.patel changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |devang.patel at gmail.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from devang.patel 2009-08-07 13:57:41 ---
Jakob 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 Fri Aug 7 20:42:07 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 7 Aug 2009 20:42:07 -0500
Subject: [LLVMbugs] [Bug 3444] unterminated switch statement crashes clang
In-Reply-To:
Message-ID: <200908080142.n781g7Bm013920@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3444
Douglas Gregor changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dgregor at apple.com
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #14 from Douglas Gregor 2009-08-07 20:42:06 ---
Fixed in r78450.
--
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 Aug 7 23:25:42 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 7 Aug 2009 23:25:42 -0500
Subject: [LLVMbugs] [Bug 3156] Couldn't allocate output reg for constraint
'r' (x86_32/OSX)
In-Reply-To:
Message-ID: <200908080425.n784PgR7002118@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3156
Evan Cheng changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #6 from Evan Cheng 2009-08-07 23:25:41 ---
Must have been fixed a while ago.
--
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 Aug 8 11:35:35 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 8 Aug 2009 11:35:35 -0500
Subject: [LLVMbugs] [Bug 4699] New: Assertion failed: (N->use_empty() && "
Cannot delete a node that is not dead!"), function DeleteNodeNotInCSEMaps,
file SelectionDAG.cpp, line 594.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4699
Summary: Assertion failed: (N->use_empty() && "Cannot delete a
node that is not dead!"), function
DeleteNodeNotInCSEMaps, file SelectionDAG.cpp, line 594.
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: benny.kra at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3296)
--> (http://llvm.org/bugs/attachment.cgi?id=3296)
reduced testcase
Assertion failed: (N->use_empty() && "Cannot delete a node that is not dead!"),
function DeleteNodeNotInCSEMaps, file SelectionDAG.cpp, line 594.
Program received signal SIGABRT, Aborted.
0x96ba2e42 in __kill ()
(gdb) bt
#0 0x96ba2e42 in __kill ()
#1 0x96ba2e34 in kill$UNIX2003 ()
#2 0x96c1523a in raise ()
#3 0x96c21679 in abort ()
#4 0x96c163db in __assert_rtn ()
#5 0x0041a2d3 in llvm::SelectionDAG::DeleteNodeNotInCSEMaps (this=0x15059c0,
N=0x1815228) at SelectionDAG.cpp:594
#6 0x0042a554 in llvm::SelectionDAG::DeleteNode (this=0x15059c0, N=0x1815228)
at SelectionDAG.cpp:589
#7 0x003915e4 in (anonymous namespace)::DAGCombiner::visitMERGE_VALUES
(this=0xbfffedac, N=0x1815228) at DAGCombiner.cpp:931
#8 0x003b42f7 in (anonymous namespace)::DAGCombiner::visit (this=0xbfffedac,
N=0x1815228) at DAGCombiner.cpp:729
#9 0x003b49c9 in (anonymous namespace)::DAGCombiner::combine (this=0xbfffedac,
N=0x1815228) at DAGCombiner.cpp:793
#10 0x003b5f64 in (anonymous namespace)::DAGCombiner::Run (this=0xbfffedac,
AtLevel=llvm::Unrestricted) at DAGCombiner.cpp:667
#11 0x003b63ac in llvm::SelectionDAG::Combine (this=0x15059c0,
Level=llvm::Unrestricted, AA=@0x1505f5c, OptLevel=llvm::CodeGenOpt::Default) at
DAGCombiner.cpp:6239
#12 0x0047fa57 in llvm::SelectionDAGISel::CodeGenAndEmitDAG (this=0x15058b0) at
SelectionDAGISel.cpp:480
#13 0x004821ec in llvm::SelectionDAGISel::SelectBasicBlock (this=0x15058b0,
LLVMBB=0x1502640, Begin={>
= {<> = {}, }, NodePtr = 0x150b07c},
End={> = {<> = {}, }, NodePtr = 0x1502640}) at SelectionDAGISel.cpp:400
#14 0x00482abf in llvm::SelectionDAGISel::SelectAllBasicBlocks (this=0x15058b0,
Fn=@0x1501d70, MF=@0x150b0e0, MMI=0x1509200, DW=0x1506180, TII=@0x18086f0) at
SelectionDAGISel.cpp:790
#15 0x00482e99 in llvm::SelectionDAGISel::runOnMachineFunction (this=0x15058b0,
mf=@0x150b0e0) at SelectionDAGISel.cpp:334
#16 0x00546835 in llvm::MachineFunctionPass::runOnFunction (this=0x15058b0,
F=@0x1501d70) at MachineFunctionPass.cpp:31
#17 0x007707a0 in llvm::FPPassManager::runOnFunction (this=0x1501b40,
F=@0x1501d70) at PassManager.cpp:1372
#18 0x00770a10 in llvm::FunctionPassManagerImpl::run (this=0x1501960,
F=@0x1501d70) at PassManager.cpp:1324
#19 0x00770b24 in llvm::FunctionPassManager::run (this=0xbffff1dc,
F=@0x1501d70) at PassManager.cpp:1254
#20 0x000033ba in main (argc=2, argv=0xbffff2dc) at llc.cpp:394
--
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 Aug 8 13:24:59 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 8 Aug 2009 13:24:59 -0500
Subject: [LLVMbugs] [Bug 4700] New: "operation has no effect" for macros
that expand to 0 << 1
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4700
Summary: "operation has no effect" for macros that expand to 0 <<
1
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: ssen at apple.com
CC: llvmbugs at cs.uiuc.edu
llvm/clang r78480
The following is typical for code that generates enums or error codes where the
top bits are a subsystem ID and the low bits are an individual error code:
[ssen at virgon]$ cat foo.c
#define errcode(x, y) (x << 16 | y)
int a = errcode(0, 0);
int b = errcode(1, 0);
[ssen at virgon]$ clang -c foo.c -Wall
foo.c:2:9: warning: operation has no effect [-Wall]
int a = errcode(0, 0);
^~~~~~~~~~~~~
foo.c:1:26: note: instantiated from:
#define errcode(x, y) (x << 16 | y)
^ ~~
1 diagnostic generated.
[ssen at virgon]$
This code should not warn. It's expected behavior that sometimes there will be
0 in the top bits.
--
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 Aug 8 14:19:22 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 8 Aug 2009 14:19:22 -0500
Subject: [LLVMbugs] [Bug 4700] "operation has no effect" for macros that
expand to 0 << 1
In-Reply-To:
Message-ID: <200908081919.n78JJMdn031002@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4700
Ryan Flynn changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Ryan Flynn 2009-08-08 14:19:22 ---
r78488
--
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 Aug 8 14:56:21 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 8 Aug 2009 14:56:21 -0500
Subject: [LLVMbugs] [Bug 4701] New: Definitions of id and Class ignored
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4701
Summary: Definitions of id and Class ignored
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: csdavec at swan.ac.uk
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3297)
--> (http://llvm.org/bugs/attachment.cgi?id=3297)
Test case.
Accessing fields in id and Class no longer works. Any definition of these
types in code is now completely ignored. This breaks any code on the GNU
runtime that includes objc/objc-api.h.
The attached file is the result of preprocessing this trivial program on a
platform with the GNU platform:
#import
const void *testSel(SEL a)
{
return a->sel_types;
}
const void *testClass(Class a)
{
return a->name;
}
const void *testId(id a)
{
return a->class_pointer;
}
--
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 Aug 8 22:37:30 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 8 Aug 2009 22:37:30 -0500
Subject: [LLVMbugs] [Bug 4702] New: "make check" fails,
claiming lack of dejagnu
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4702
Summary: "make check" fails, claiming lack of dejagnu
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jgarzik at pobox.com
CC: llvmbugs at cs.uiuc.edu
In current SVN (r78520), attempting to run "make check" on Fedora 10/x86-64
fails, even though dejagnu is installed:
[jgarzik at bd llvm]$ make check
llvm[0]: Running test suite
make[1]: Entering directory `/garz/repo/llvm/test'
Making a new site.exp file...
*** dejagnu not found. Make sure 'runtest' is in your PATH, then reconfigure
LLVM.
make[1]: Leaving directory `/garz/repo/llvm/test'
[jgarzik at bd llvm]$ rpm -q dejagnu
dejagnu-1.4.4-13.fc10.noarch
[jgarzik at bd llvm]$ which runtest
/usr/bin/runtest
--
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 Aug 9 02:02:39 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 9 Aug 2009 02:02:39 -0500
Subject: [LLVMbugs] [Bug 4702] "make check" fails, claiming lack of dejagnu
In-Reply-To:
Message-ID: <200908090702.n7972ddN022227@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4702
Bill Wendling changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wendling at apple.com
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Bill Wendling 2009-08-09 02:02:39 ---
Check the config.log to determine why it didn't find the "runtest" during
configuration. If it wasn't found, re-configure with your PATH set to where
runtest is.
We really can't help with 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 Sun Aug 9 18:40:43 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 9 Aug 2009 18:40:43 -0500
Subject: [LLVMbugs] [Bug 4704] New: cast from ptr to scalar crashes clang
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4704
Summary: cast from ptr to scalar crashes clang
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: nunoplopes at sapo.pt
CC: llvmbugs at cs.uiuc.edu
recent regression when generating assembly for the following code:
// clang-cc -S -O2
void f() {
int a = (int)("") - 0;
int b = (int)(""); // possibly different 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 Aug 10 11:54:23 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 10 Aug 2009 11:54:23 -0500
Subject: [LLVMbugs] [Bug 4618] AliasSetTracker needs to use CallbackVH/
WeakVH or be updated more correctly by loop passes
In-Reply-To:
Message-ID: <200908101654.n7AGsN2f002472@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4618
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Dan Gohman 2009-08-10 11:54:21 ---
This is fixed in r77623-r77696.
--
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 Aug 10 14:11:31 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 10 Aug 2009 14:11:31 -0500
Subject: [LLVMbugs] [Bug 4705] New: msp430: llc : Assertion failed: (Reg &&
" this is not a register!")
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4705
Summary: msp430: llc : Assertion failed: (Reg && "this is not a
register!")
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: karthiksun at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3300)
--> (http://llvm.org/bugs/attachment.cgi?id=3300)
bugpoint -run-llc foo.bc --tool-args -march=msp430
Building a simple.c file with llvm r78578 to generate msp430 assembly file.
The command used is
llc -f -march=msp430 -o foo.s foo.bc
Crashes llc with
Assertion failed: (Reg && "this is not a register!").
This is probably related to bug #4587
--
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 Aug 10 16:15:13 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 10 Aug 2009 16:15:13 -0500
Subject: [LLVMbugs] [Bug 4705] msp430: llc : Assertion failed: (Reg && "this
is not a register! ")
In-Reply-To:
Message-ID: <200908102115.n7ALFDG8007211@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4705
Anton Korobeynikov changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |asl at math.spbu.ru
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Anton Korobeynikov 2009-08-10 16:15:12 ---
This file is not suitable for msp430 at all: it contains targetdata and all
stuff from 32-bit CPU
--
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 Aug 10 16:41:24 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 10 Aug 2009 16:41:24 -0500
Subject: [LLVMbugs] [Bug 4705] msp430: llc : Assertion failed: (Reg && "this
is not a register! ")
In-Reply-To:
Message-ID: <200908102141.n7ALfO1D010869@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4705
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gohman at apple.com
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #4 from Dan Gohman 2009-08-10 16:41:23 ---
LLVM IR emitted by a C front-end is target-specific, in general.
However, I don't see anything in the given testcase that should preclude it
from at least being codegen'd for msp430 or any other target, so this does seem
to be a CodeGen 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 Aug 10 19:30:23 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 10 Aug 2009 19:30:23 -0500
Subject: [LLVMbugs] [Bug 4706] New: Bitcode reader fails after rev# 78258
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4706
Summary: Bitcode reader fails after rev# 78258
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: gareth_morgan77 at hotmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3301)
--> (http://llvm.org/bugs/attachment.cgi?id=3301)
IR file that will crash bitcode reader when compiled and read
The attached IR, when compiled to bitcode using LLVM-AS, will crash the
BitcodeReader when the BC is read. If the source tree is rolled back to 78257
will work fine, but at 78258 or later it will cause an assert here:
LLVMTest.exe!llvm::TypeMap::RefineAbstractType(llvm::StructType
* Ty=0x01aed0d0, const llvm::DerivedType * OldType=0x01aeb328, const llvm::Type
* NewType=0x01aeb290) Line 323 + 0x26 bytes C++
LLVMTest.exe!llvm::StructType::refineAbstractType(const
llvm::DerivedType * OldType=0x01aeb328, const llvm::Type * NewType=0x01aeb290)
Line 1152 C++
LLVMTest.exe!llvm::DerivedType::unlockedRefineAbstractTypeTo(const
llvm::Type * NewType=0x01aeb290) Line 1055 + 0x1c bytes C++
LLVMTest.exe!llvm::DerivedType::refineAbstractTypeTo(const llvm::Type *
NewType=0x01aeb290) Line 1076 C++
LLVMTest.exe!llvm::BitcodeReader::ParseTypeTable() Line 624 C++
LLVMTest.exe!llvm::BitcodeReader::ParseModule(const
std::basic_string,std::allocator > &
ModuleID="C:\svn_trunk\Code\Tools\llvm-gcc-helpers\TS.bc") Line 1270 + 0x8
bytes C++
LLVMTest.exe!llvm::BitcodeReader::ParseBitcode() Line 1521 + 0x42
bytes C++
LLVMTest.exe!llvm::getBitcodeModuleProvider(llvm::MemoryBuffer *
Buffer=0x01ae7928, llvm::LLVMContext & Context={...},
std::basic_string,std::allocator > *
ErrMsg="") Line 2222 + 0x8 bytes C++
LLVMTest.exe!llvm::ParseBitcodeFile(llvm::MemoryBuffer *
Buffer=0x01ae7928, llvm::LLVMContext & Context={...},
std::basic_string,std::allocator > *
ErrMsg="") Line 2240 + 0x11 bytes C++
The code for reading it looks like this:
memBuf = llvm::MemoryBuffer::getFile("TS.bc");
std::string errStr;
mainModule = llvm::ParseBitcodeFile(memBuf, LLVMGetContext(), &errStr);
if(NULL == mainModule)
{
printf("Module errStr: %s\n", errStr.c_str());
exit(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 Aug 10 19:33:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 10 Aug 2009 19:33:26 -0500
Subject: [LLVMbugs] [Bug 4675] lli: symbol lookup error:
/usr/lib/oprofile/libopagent.so.1: undefined symbol: bfd_init
In-Reply-To:
Message-ID: <200908110033.n7B0XQ6I002600@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4675
Jeffrey Yasskin changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Jeffrey Yasskin 2009-08-10 19:33:25 ---
Nick and I think this is a problem with the Debian oprofile package he
installed, and not with the way libopagent is linked in LLVM. He found
http://bugs.debian.org/537744 explaining the Debian 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 Tue Aug 11 14:36:25 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 11 Aug 2009 14:36:25 -0500
Subject: [LLVMbugs] [Bug 4707] New: Use after free in thumb2 tests
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4707
Summary: Use after free in thumb2 tests
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: benny.kra at gmail.com
CC: llvmbugs at cs.uiuc.edu
the following tests show errors in valgrind:
test/CodeGen/Thumb2/thumb2-ldr.ll
test/CodeGen/Thumb2/thumb2-ldrb.ll
test/CodeGen/Thumb2/thumb2-ldrh.ll
test/CodeGen/Thumb2/thumb2-mov3.ll
test/CodeGen/Thumb2/thumb2-str.ll
test/CodeGen/Thumb2/thumb2-strb.ll
test/CodeGen/Thumb2/thumb2-strh.ll
example valgrind log (thumb2-str.ll) on osx 10.5.8:
Invalid read of size 1
at 0x3B183D: llvm::MachineOperand::isReg() const (MachineOperand.h:144)
by 0x388A64: UpdateCPSRLiveness(llvm::MachineInstr&, bool)
(Thumb2SizeReduction.cpp:446)
by 0x38A087: (anonymous
namespace)::Thumb2SizeReduce::ReduceMBB(llvm::MachineBasicBlock&)
(Thumb2SizeReduction.cpp:513)
by 0x38A17E: (anonymous
namespace)::Thumb2SizeReduce::runOnMachineFunction(llvm::MachineFunction&)
(Thumb2SizeReduction.cpp:528)
by 0x579D74: llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(MachineFunctionPass.cpp:31)
by 0x7AA35B: llvm::FPPassManager::runOnFunction(llvm::Function&)
(PassManager.cpp:1372)
by 0x7AA5CB: llvm::FunctionPassManagerImpl::run(llvm::Function&)
(PassManager.cpp:1324)
by 0x7AA6DF: llvm::FunctionPassManager::run(llvm::Function&)
(PassManager.cpp:1254)
by 0x33B9: main (llc.cpp:394)
Address 0x1966dd0 is 0 bytes inside a block of size 120 free'd
at 0x1598B1A: operator delete(void*) (vg_replace_malloc.c:346)
by 0x52A292:
__gnu_cxx::new_allocator::deallocate(llvm::MachineOperand*,
unsigned long) (ext/new_allocator.h:94)
by 0x52A2BC: std::_Vector_base >::_M_deallocate(llvm::MachineOperand*,
unsigned long) (stl_vector.h:123)
by 0x52A2FB: std::_Vector_base >::~_Vector_base() (stl_vector.h:109)
by 0x52A372: std::vector >::~vector() (stl_vector.h:273)
by 0x57CD76: llvm::MachineInstr::~MachineInstr() (MachineInstr.cpp:438)
by 0x5727A4: llvm::MachineFunction::DeleteMachineInstr(llvm::MachineInstr*)
(MachineFunction.cpp:198)
by 0x568092:
llvm::ilist_traits::deleteNode(llvm::MachineInstr*)
(MachineBasicBlock.cpp:120)
by 0x4B502E: llvm::iplist
>::erase(llvm::ilist_iterator) (ilist.h:463)
by 0x4B504E:
llvm::MachineBasicBlock::erase(llvm::ilist_iterator)
(MachineBasicBlock.h:272)
by 0x3892D4: (anonymous
namespace)::Thumb2SizeReduce::ReduceToNarrow(llvm::MachineBasicBlock&,
llvm::MachineInstr*, (anonymous namespace)::ReduceEntry const&, bool)
(Thumb2SizeReduction.cpp:437)
by 0x38A057: (anonymous
namespace)::Thumb2SizeReduce::ReduceMBB(llvm::MachineBasicBlock&)
(Thumb2SizeReduction.cpp:508)
Invalid read of size 1
at 0x3B183D: llvm::MachineOperand::isReg() const (MachineOperand.h:144)
by 0x5427E9: llvm::MachineOperand::isUndef() const (MachineOperand.h:205)
by 0x388A76: UpdateCPSRLiveness(llvm::MachineInstr&, bool)
(Thumb2SizeReduction.cpp:446)
by 0x38A087: (anonymous
namespace)::Thumb2SizeReduce::ReduceMBB(llvm::MachineBasicBlock&)
(Thumb2SizeReduction.cpp:513)
by 0x38A17E: (anonymous
namespace)::Thumb2SizeReduce::runOnMachineFunction(llvm::MachineFunction&)
(Thumb2SizeReduction.cpp:528)
by 0x579D74: llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(MachineFunctionPass.cpp:31)
by 0x7AA35B: llvm::FPPassManager::runOnFunction(llvm::Function&)
(PassManager.cpp:1372)
by 0x7AA5CB: llvm::FunctionPassManagerImpl::run(llvm::Function&)
(PassManager.cpp:1324)
by 0x7AA6DF: llvm::FunctionPassManager::run(llvm::Function&)
(PassManager.cpp:1254)
by 0x33B9: main (llc.cpp:394)
Address 0x1966dd0 is 0 bytes inside a block of size 120 free'd
at 0x1598B1A: operator delete(void*) (vg_replace_malloc.c:346)
by 0x52A292:
__gnu_cxx::new_allocator::deallocate(llvm::MachineOperand*,
unsigned long) (ext/new_allocator.h:94)
by 0x52A2BC: std::_Vector_base >::_M_deallocate(llvm::MachineOperand*,
unsigned long) (stl_vector.h:123)
by 0x52A2FB: std::_Vector_base >::~_Vector_base() (stl_vector.h:109)
by 0x52A372: std::vector >::~vector() (stl_vector.h:273)
by 0x57CD76: llvm::MachineInstr::~MachineInstr() (MachineInstr.cpp:438)
by 0x5727A4: llvm::MachineFunction::DeleteMachineInstr(llvm::MachineInstr*)
(MachineFunction.cpp:198)
by 0x568092:
llvm::ilist_traits::deleteNode(llvm::MachineInstr*)
(MachineBasicBlock.cpp:120)
by 0x4B502E: llvm::iplist
>::erase(llvm::ilist_iterator) (ilist.h:463)
by 0x4B504E:
llvm::MachineBasicBlock::erase(llvm::ilist_iterator)
(MachineBasicBlock.h:272)
by 0x3892D4: (anonymous
namespace)::Thumb2SizeReduce::ReduceToNarrow(llvm::MachineBasicBlock&,
llvm::MachineInstr*, (anonymous namespace)::ReduceEntry const&, bool)
(Thumb2SizeReduction.cpp:437)
by 0x38A057: (anonymous
namespace)::Thumb2SizeReduce::ReduceMBB(llvm::MachineBasicBlock&)
(Thumb2SizeReduction.cpp:508)
Invalid read of size 4
at 0x542830: llvm::MachineOperand::isUndef() const (MachineOperand.h:206)
by 0x388A76: UpdateCPSRLiveness(llvm::MachineInstr&, bool)
(Thumb2SizeReduction.cpp:446)
by 0x38A087: (anonymous
namespace)::Thumb2SizeReduce::ReduceMBB(llvm::MachineBasicBlock&)
(Thumb2SizeReduction.cpp:513)
by 0x38A17E: (anonymous
namespace)::Thumb2SizeReduce::runOnMachineFunction(llvm::MachineFunction&)
(Thumb2SizeReduction.cpp:528)
by 0x579D74: llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(MachineFunctionPass.cpp:31)
by 0x7AA35B: llvm::FPPassManager::runOnFunction(llvm::Function&)
(PassManager.cpp:1372)
by 0x7AA5CB: llvm::FunctionPassManagerImpl::run(llvm::Function&)
(PassManager.cpp:1324)
by 0x7AA6DF: llvm::FunctionPassManager::run(llvm::Function&)
(PassManager.cpp:1254)
by 0x33B9: main (llc.cpp:394)
Address 0x1966dd0 is 0 bytes inside a block of size 120 free'd
at 0x1598B1A: operator delete(void*) (vg_replace_malloc.c:346)
by 0x52A292:
__gnu_cxx::new_allocator::deallocate(llvm::MachineOperand*,
unsigned long) (ext/new_allocator.h:94)
by 0x52A2BC: std::_Vector_base >::_M_deallocate(llvm::MachineOperand*,
unsigned long) (stl_vector.h:123)
by 0x52A2FB: std::_Vector_base >::~_Vector_base() (stl_vector.h:109)
by 0x52A372: std::vector >::~vector() (stl_vector.h:273)
by 0x57CD76: llvm::MachineInstr::~MachineInstr() (MachineInstr.cpp:438)
by 0x5727A4: llvm::MachineFunction::DeleteMachineInstr(llvm::MachineInstr*)
(MachineFunction.cpp:198)
by 0x568092:
llvm::ilist_traits::deleteNode(llvm::MachineInstr*)
(MachineBasicBlock.cpp:120)
by 0x4B502E: llvm::iplist
>::erase(llvm::ilist_iterator) (ilist.h:463)
by 0x4B504E:
llvm::MachineBasicBlock::erase(llvm::ilist_iterator)
(MachineBasicBlock.h:272)
by 0x3892D4: (anonymous
namespace)::Thumb2SizeReduce::ReduceToNarrow(llvm::MachineBasicBlock&,
llvm::MachineInstr*, (anonymous namespace)::ReduceEntry const&, bool)
(Thumb2SizeReduction.cpp:437)
by 0x38A057: (anonymous
namespace)::Thumb2SizeReduce::ReduceMBB(llvm::MachineBasicBlock&)
(Thumb2SizeReduction.cpp:508)
Invalid read of size 1
at 0x3B183D: llvm::MachineOperand::isReg() const (MachineOperand.h:144)
by 0x37026B: llvm::MachineOperand::getReg() const (MachineOperand.h:170)
by 0x388A97: UpdateCPSRLiveness(llvm::MachineInstr&, bool)
(Thumb2SizeReduction.cpp:448)
by 0x38A087: (anonymous
namespace)::Thumb2SizeReduce::ReduceMBB(llvm::MachineBasicBlock&)
(Thumb2SizeReduction.cpp:513)
by 0x38A17E: (anonymous
namespace)::Thumb2SizeReduce::runOnMachineFunction(llvm::MachineFunction&)
(Thumb2SizeReduction.cpp:528)
by 0x579D74: llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(MachineFunctionPass.cpp:31)
by 0x7AA35B: llvm::FPPassManager::runOnFunction(llvm::Function&)
(PassManager.cpp:1372)
by 0x7AA5CB: llvm::FunctionPassManagerImpl::run(llvm::Function&)
(PassManager.cpp:1324)
by 0x7AA6DF: llvm::FunctionPassManager::run(llvm::Function&)
(PassManager.cpp:1254)
by 0x33B9: main (llc.cpp:394)
Address 0x1966dd0 is 0 bytes inside a block of size 120 free'd
at 0x1598B1A: operator delete(void*) (vg_replace_malloc.c:346)
by 0x52A292:
__gnu_cxx::new_allocator::deallocate(llvm::MachineOperand*,
unsigned long) (ext/new_allocator.h:94)
by 0x52A2BC: std::_Vector_base >::_M_deallocate(llvm::MachineOperand*,
unsigned long) (stl_vector.h:123)
by 0x52A2FB: std::_Vector_base >::~_Vector_base() (stl_vector.h:109)
by 0x52A372: std::vector >::~vector() (stl_vector.h:273)
by 0x57CD76: llvm::MachineInstr::~MachineInstr() (MachineInstr.cpp:438)
by 0x5727A4: llvm::MachineFunction::DeleteMachineInstr(llvm::MachineInstr*)
(MachineFunction.cpp:198)
by 0x568092:
llvm::ilist_traits::deleteNode(llvm::MachineInstr*)
(MachineBasicBlock.cpp:120)
by 0x4B502E: llvm::iplist
>::erase(llvm::ilist_iterator) (ilist.h:463)
by 0x4B504E:
llvm::MachineBasicBlock::erase(llvm::ilist_iterator)
(MachineBasicBlock.h:272)
by 0x3892D4: (anonymous
namespace)::Thumb2SizeReduce::ReduceToNarrow(llvm::MachineBasicBlock&,
llvm::MachineInstr*, (anonymous namespace)::ReduceEntry const&, bool)
(Thumb2SizeReduction.cpp:437)
by 0x38A057: (anonymous
namespace)::Thumb2SizeReduce::ReduceMBB(llvm::MachineBasicBlock&)
(Thumb2SizeReduction.cpp:508)
Invalid read of size 4
at 0x3702B2: llvm::MachineOperand::getReg() const (MachineOperand.h:171)
by 0x388A97: UpdateCPSRLiveness(llvm::MachineInstr&, bool)
(Thumb2SizeReduction.cpp:448)
by 0x38A087: (anonymous
namespace)::Thumb2SizeReduce::ReduceMBB(llvm::MachineBasicBlock&)
(Thumb2SizeReduction.cpp:513)
by 0x38A17E: (anonymous
namespace)::Thumb2SizeReduce::runOnMachineFunction(llvm::MachineFunction&)
(Thumb2SizeReduction.cpp:528)
by 0x579D74: llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(MachineFunctionPass.cpp:31)
by 0x7AA35B: llvm::FPPassManager::runOnFunction(llvm::Function&)
(PassManager.cpp:1372)
by 0x7AA5CB: llvm::FunctionPassManagerImpl::run(llvm::Function&)
(PassManager.cpp:1324)
by 0x7AA6DF: llvm::FunctionPassManager::run(llvm::Function&)
(PassManager.cpp:1254)
by 0x33B9: main (llc.cpp:394)
Address 0x1966dd8 is 8 bytes inside a block of size 120 free'd
at 0x1598B1A: operator delete(void*) (vg_replace_malloc.c:346)
by 0x52A292:
__gnu_cxx::new_allocator::deallocate(llvm::MachineOperand*,
unsigned long) (ext/new_allocator.h:94)
by 0x52A2BC: std::_Vector_base >::_M_deallocate(llvm::MachineOperand*,
unsigned long) (stl_vector.h:123)
by 0x52A2FB: std::_Vector_base >::~_Vector_base() (stl_vector.h:109)
by 0x52A372: std::vector >::~vector() (stl_vector.h:273)
by 0x57CD76: llvm::MachineInstr::~MachineInstr() (MachineInstr.cpp:438)
by 0x5727A4: llvm::MachineFunction::DeleteMachineInstr(llvm::MachineInstr*)
(MachineFunction.cpp:198)
by 0x568092:
llvm::ilist_traits::deleteNode(llvm::MachineInstr*)
(MachineBasicBlock.cpp:120)
by 0x4B502E: llvm::iplist
>::erase(llvm::ilist_iterator) (ilist.h:463)
by 0x4B504E:
llvm::MachineBasicBlock::erase(llvm::ilist_iterator)
(MachineBasicBlock.h:272)
by 0x3892D4: (anonymous
namespace)::Thumb2SizeReduce::ReduceToNarrow(llvm::MachineBasicBlock&,
llvm::MachineInstr*, (anonymous namespace)::ReduceEntry const&, bool)
(Thumb2SizeReduction.cpp:437)
by 0x38A057: (anonymous
namespace)::Thumb2SizeReduce::ReduceMBB(llvm::MachineBasicBlock&)
(Thumb2SizeReduction.cpp:508)
This might be the cause for test failures on solaris.
--
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 Aug 11 14:41:12 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 11 Aug 2009 14:41:12 -0500
Subject: [LLVMbugs] [Bug 4708] New: llvm-prof has cast warnings after r78477
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4708
Summary: llvm-prof has cast warnings after r78477
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Global Analyses
AssignedTo: unassignedbugs at nondot.org
ReportedBy: idadesub at users.sourceforge.net
CC: llvmbugs at cs.uiuc.edu, daniel at zuster.org
Created an attachment (id=3303)
--> (http://llvm.org/bugs/attachment.cgi?id=3303)
patch to fix warnings in llvm-prof.cpp
It looks like r78477 changed a couple of the return types for ProfileInfo to
return doubles instead of unsigned ints, and llvm-prof.cpp wasn't updated to
reflect this. I'm now getting a couple cast warnings from this (I know
gcc-4.1.1 is bad, but the warnings appear to be valid):
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_pair.h:
In constructor ???std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&) [with
_U1 = llvm::Function*, _U2 = double, _T1 = llvm::Function*, _T2 = unsigned
int]???:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_algo.h:2477:
instantiated from ???void std::partial_sort(_RandomAccessIterator,
_RandomAccessIterator, _RandomAccessIterator, _Compare) [with
_RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector,
std::allocator > > >, _Compare =
PairSecondSortReverse]???
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_algo.h:2666:
instantiated from ???void std::__introsort_loop(_RandomAccessIterator,
_RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator =
__gnu_cxx::__normal_iterator*,
std::vector,
std::allocator > > >, _Size = long int,
_Compare = PairSecondSortReverse]???
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_algo.h:2749:
instantiated from ???void std::sort(_RandomAccessIterator,
_RandomAccessIterator, _Compare) [with _RandomAccessIterator =
__gnu_cxx::__normal_iterator*,
std::vector,
std::allocator > > >, _Compare =
PairSecondSortReverse]???
/scratch/llvm/llvm/tools/llvm-prof/llvm-prof.cpp:169: instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_pair.h:90:
warning: converting to ???unsigned int??? from ???const double???
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_pair.h:
In constructor ???std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&) [with
_U1 = llvm::BasicBlock*, _U2 = double, _T1 = llvm::BasicBlock*, _T2 = unsigned
int]???:
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_algo.h:2477:
instantiated from ???void std::partial_sort(_RandomAccessIterator,
_RandomAccessIterator, _RandomAccessIterator, _Compare) [with
_RandomAccessIterator =
__gnu_cxx::__normal_iterator*,
std::vector,
std::allocator > > >, _Compare =
PairSecondSortReverse]???
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_algo.h:2666:
instantiated from ???void std::__introsort_loop(_RandomAccessIterator,
_RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator =
__gnu_cxx::__normal_iterator*,
std::vector,
std::allocator > > >, _Size = long int,
_Compare = PairSecondSortReverse]???
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_algo.h:2749:
instantiated from ???void std::sort(_RandomAccessIterator,
_RandomAccessIterator, _Compare) [with _RandomAccessIterator =
__gnu_cxx::__normal_iterator*,
std::vector,
std::allocator > > >, _Compare =
PairSecondSortReverse]???
/scratch/llvm/llvm/tools/llvm-prof/llvm-prof.cpp:212: instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_pair.h:90:
warning: converting to ???unsigned int??? from ???const double
I've attached a patch that fixes this, but I'm not sure what the consequences
of this patch will do since I've got a bad gcc installed.
--
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 Aug 11 14:53:01 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 11 Aug 2009 14:53:01 -0500
Subject: [LLVMbugs] [Bug 4699] Assertion failed: (N->use_empty() && " Cannot
delete a node that is not dead!"), function DeleteNodeNotInCSEMaps,
file SelectionDAG.cpp, line 594.
In-Reply-To:
Message-ID: <200908111953.n7BJr1kh009477@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4699
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Dan Gohman 2009-08-11 14:53:01 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090810/084091.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 Aug 11 17:42:20 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 11 Aug 2009 17:42:20 -0500
Subject: [LLVMbugs] [Bug 2247] llvm needs an 'exact divide' flag/instruction
In-Reply-To:
Message-ID: <200908112242.n7BMgKmV000351@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=2247
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gohman at apple.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #9 from Dan Gohman 2009-08-11 17:42:19 ---
This is now fixed. LLVM's sdiv operator now has an "exact" flag, and
clang and llvm-gcc are now both using it for pointer difference
expressions. On the original testcase, test and test2 are now
compiled to the same code.
--
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 Aug 11 19:34:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 11 Aug 2009 19:34:48 -0500
Subject: [LLVMbugs] [Bug 4710] New: Assert fires in the Verifier when called
from the PassManager in 'opt'
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4710
Summary: Assert fires in the Verifier when called from the
PassManager in 'opt'
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Solaris
Status: NEW
Severity: major
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: eocallaghan at auroraux.org
CC: llvmbugs at cs.uiuc.edu
Good day,
/opt/clang/bin/opt asserts and aborts with the following traces below;
Suspected files in question:
lib/VMCore/Verifier.cpp
lib/VMCore/PassManager.cpp
== In gdb on Linux ==
Instruction does not dominate all uses!
%tmp12 = phi i32 [ 0, %BB13 ], [ %tmp10, %BB9 ], [ %tmp12, %BB ]
; [#uses=1] %tmp12 = phi i32 [ 0, %BB13 ], [ %tmp10, %BB9 ], [
%tmp12, %BB ] ; [#uses=1]Broken module found, compilation
aborted!
0 opt 0x003c3356 llvm::sys::SetInterruptFunction(void (*)()) +
82
1 opt 0x003c3745 llvm::sys::SetInterruptFunction(void (*)()) +
1089
2 libSystem.B.dylib 0x96ba12bb _sigtramp + 43
3 libSystem.B.dylib 0xffffffff _sigtramp + 1766190447
4 libSystem.B.dylib 0x96c1523a raise + 26
5 libSystem.B.dylib 0x96c21679 abort + 73
6 opt 0x0037a687 llvm::BaseStream&
llvm::BaseStream::operator<< (char const (&) [2]) + 351
7 opt 0x0037e09b llvm::InstVisitor<(anonymous
namespace)::Verifier, void>::visit(llvm::Function&) + 185
8 opt 0x003424a0
llvm::FPPassManager::runOnFunction(llvm::Function&) + 304
9 opt 0x00342652
llvm::FPPassManager::runOnModule(llvm::Module&) + 84
10 opt 0x00342089
llvm::MPPassManager::runOnModule(llvm::Module&) + 385
11 opt 0x003422de llvm::PassManagerImpl::run(llvm::Module&) +
112
12 opt 0x00342337 llvm::PassManager::run(llvm::Module&) + 27
13 opt 0x0000d340 main + 4634
14 opt 0x00001eb6 start + 54
Stack dump:
0. Running pass 'Function Pass Manager' on module ''.
1. Running pass 'Module Verifier' on function '@func_105'
======8<=========
Instruction does not dominate all uses!
%tmp12 = phi i32 [ 0, %BB13 ], [ %tmp10, %BB9 ], [ %tmp12, %BB ]
; [#uses=1] %tmp12 = phi i32 [ 0, %BB13 ], [ %tmp10, %BB9 ], [
%tmp12, %BB ] ; [#uses=1]Broken module found, compilation
aborted!
Program received signal SIGABRT, Aborted.
0x96ba2e42 in __kill ()
(gdb) bt
#0 0x96ba2e42 in __kill ()
#1 0x96ba2e34 in kill$UNIX2003 ()
#2 0x96c1523a in raise ()
#3 0x96c21679 in abort ()
#4 0x0037a687 in (anonymous namespace)::Verifier::abortIfBroken
(this=0xe02480) at Verifier.cpp:216
#5 0x0037e09b in (anonymous namespace)::Verifier::runOnFunction
(this=0xe02480, F=@0xe02790) at Verifier.cpp:171
#6 0x003424a0 in llvm::FPPassManager::runOnFunction (this=0xe021e0,
F=@0xe02790) at PassManager.cpp:1372
#7 0x00342652 in llvm::FPPassManager::runOnModule (this=0xe021e0, M=@0xe02b00)
at PassManager.cpp:1395
#8 0x00342089 in llvm::MPPassManager::runOnModule (this=0xe01bd0, M=@0xe02b00)
at PassManager.cpp:1448
#9 0x003422de in llvm::PassManagerImpl::run (this=0xe01a00, M=@0xe02b00) at
PassManager.cpp:1529
#10 0x00342337 in llvm::PassManager::run (this=0xbffff128, M=@0xe02b00) at
PassManager.cpp:1558
#11 0x0000d340 in main (argc=4, argv=0xbffff1ac) at opt.cpp:522
== On solaris from llvm/test/Transforms/SimplifyCFG/2009-01-18-PHIPropCrash.ll
test data. ==
-bash-3.2$ /opt/clang/bin/llvm-as <
/export/home2/edward/lab/llvm/llvm/test/Transforms/SimplifyCFG/2009-01-18-PHIPropCrash.ll
| /opt/clang/bin/opt -simplifycfg
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.
Instruction does not dominate all uses!
%tmp12 = phi i32 [ 0, %BB13 ], [ %tmp10, %BB9 ], [ %tmp12, %BB ]
; [#uses=1] %tmp12 = phi i32 [ 0, %BB13 ], [ %tmp10, %BB9
], [ %tmp12, %BB ] ; [#uses=1]Broken module found,
compilation aborted!
0 opt 0x086f8778 llvm::sys::SetInterruptFunction(void (*)()) + 88
1 opt 0x086f8d82 llvm::sys::RemoveFileOnSignal(llvm::sys::Path const&,
std::string*) + 596
2 libc.so.1 0xfeb6d0af __sighndlr + 15
3 libc.so.1 0xfeb601af call_user_handler + 687
4 libc.so.1 0xfeb71997 _lwp_kill + 7
5 libc.so.1 0xfeb1ab7a raise + 34
6 libc.so.1 0xfeaf1f8c abort + 116
7 opt 0x0869a587 llvm::EVT::EVT() + 1445
8 opt 0x086a7e4d llvm::verifyFunction(llvm::Function const&,
llvm::VerifierFailureAction) + 53485
9 opt 0x08672ec2 llvm::FPPassManager::runOnFunction(llvm::Function&) +
302
10 opt 0x0867308a llvm::FPPassManager::runOnModule(llvm::Module&) + 110
11 opt 0x086711b1 llvm::MPPassManager::runOnModule(llvm::Module&) + 393
12 opt 0x0867333a llvm::PassManagerImpl::run(llvm::Module&) + 124
13 opt 0x0867339f llvm::PassManager::run(llvm::Module&) + 39
14 opt 0x0830f982 main + 4606
15 opt 0x082fe070 _start + 128
Stack dump:
0. Running pass 'Function Pass Manager' on module ''.
1. Running pass 'Module Verifier' on function '@func_105'
Abort (core dumped)
== Using gdb on Solaris ==
-bash-3.2$ /opt/clang/bin/llvm-as <
/export/home2/edward/lab/llvm/llvm/test/Transforms/SimplifyCFG/2009-01-18-PHIPropCrash.ll
> output-from-llvm-as
-bash-3.2$ more output-from-llvm-as
-bash-3.2$ gdb /opt/clang/bin/opt
GNU gdb 6.3.50_2004-11-23-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.11"...
(gdb) run -simplifycfg [#uses=1] %tmp12 = phi i32 [ 0, %BB13 ], [ %tmp10, %BB9
], [ %tmp12, %BB ] ; [#uses=1]Broken module found,
compilation aborted!
Program received signal SIGABRT, Aborted.
0xfeb71997 in _lwp_kill () from /lib/libc.so.1
(gdb) bt
#0 0xfeb71997 in _lwp_kill () from /lib/libc.so.1
#1 0xfeb6aa0c in thr_kill () from /lib/libc.so.1
#2 0xfeb1ab7a in raise () from /lib/libc.so.1
#3 0xfeaf1f8c in abort () from /lib/libc.so.1
#4 0x0869a587 in abortIfBroken (this=0x8796c70) at Verifier.cpp:216
#5 0x086a7e4d in runOnFunction (this=0x8796c70, F=@0x87970d0) at
Verifier.cpp:171
#6 0x08672ec2 in llvm::FPPassManager::runOnFunction (this=0x8793360,
F=@0x87970d0) at PassManager.cpp:1372
#7 0x0867308a in llvm::FPPassManager::runOnModule (this=0x8793360,
M=@0x8796a58) at PassManager.cpp:1395
#8 0x086711b1 in llvm::MPPassManager::runOnModule (this=0x8798a10,
M=@0x8796a58) at PassManager.cpp:1448
#9 0x0867333a in llvm::PassManagerImpl::run (this=0x87964e8, M=@0x8796a58) at
PassManager.cpp:1529
#10 0x0867339f in llvm::PassManager::run (this=0x8047cd0, M=@0x8796a58) at
PassManager.cpp:1558
#11 0x0830f982 in main (argc=2, argv=0x8047d50) at opt.cpp:522
I tried my best to collect all the data I know of here. I don't really
understand the problem..
$ /opt/clang/bin/opt --version
Low Level Virtual Machine (http://llvm.org/):
llvm version 2.6svn
DEBUG build with assertions.
Built Aug 11 2009(21:04:11).
Registered Targets:
(none)
$ /opt/clang/bin/clang --version
clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/trunk 78700M)
Target: i386-pc-solaris2.11
Thread model: posix
Best Regards,
Edward O'Callaghan.
--
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 Aug 11 20:05:24 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 11 Aug 2009 20:05:24 -0500
Subject: [LLVMbugs] [Bug 4711] New: Thumb2 tests fail horrifyingly on
Solaris.
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4711
Summary: Thumb2 tests fail horrifyingly on Solaris.
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: eocallaghan at auroraux.org
CC: llvmbugs at cs.uiuc.edu
Good day,
No idea where to start debugging this:
FAIL: /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldr.ll
Failed with exit(1) at line 1
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldr.ll | llc
-march=thumb -mattr=+thumb2 | FileCheck
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldr.ll
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldr.ll:23:10:
error: expected string not found in input
; CHECK: mov.w r1, #4096
^
:36:1: note: scanning from here
movw r1, #4096
^
FAIL: /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldrb.ll
Failed with exit(1) at line 1
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldrb.ll | llc
-march=thumb -mattr=+thumb2 | FileCheck
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldrb.ll
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldrb.ll:23:10:
error: expected string not found in input
; CHECK: mov.w r1, #4096
^
:36:1: note: scanning from here
movw r1, #4096
^
FAIL: /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldrh.ll
Failed with exit(1) at line 1
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldrh.ll | llc
-march=thumb -mattr=+thumb2 | FileCheck
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldrh.ll
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-ldrh.ll:23:10:
error: expected string not found in input
; CHECK: mov.w r1, #4096
^
:36:1: note: scanning from here
movw r1, #4096
^
FAIL: /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-mov3.ll
Failed with exit(1) at line 1
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-mov3.ll | llc
-march=thumb -mattr=+thumb2 | FileCheck
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-mov3.ll
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-mov3.ll:6:10:
error: expected string not found in input
; CHECK: movs r0, #171
^
:16:1: note: scanning from here
movw r0, #171
^
FAIL: /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-str.ll
Failed with exit(1) at line 1
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-str.ll | llc
-march=thumb -mattr=+thumb2 | FileCheck
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-str.ll
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-str.ll:28:10:
error: expected string not found in input
; CHECK: mov.w r2, #4096
^
:46:1: note: scanning from here
movw r2, #4096
^
FAIL: /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-strb.ll
Failed with exit(1) at line 1
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-strb.ll | llc
-march=thumb -mattr=+thumb2 | FileCheck
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-strb.ll
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-strb.ll:28:10:
error: expected string not found in input
; CHECK: mov.w r2, #4096
^
:46:1: note: scanning from here
movw r2, #4096
^
FAIL: /export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-strh.ll
Failed with exit(1) at line 1
while running: llvm-as <
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-strh.ll | llc
-march=thumb -mattr=+thumb2 | FileCheck
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-strh.ll
/export/home2/edward/lab/llvm/llvm/test/CodeGen/Thumb2/thumb2-strh.ll:28:10:
error: expected string not found in input
; CHECK: mov.w r2, #4096
^
:46:1: note: scanning from here
movw r2, #4096
^
Cheers,
Edward.
--
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 Aug 12 12:13:53 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 12 Aug 2009 12:13:53 -0500
Subject: [LLVMbugs] [Bug 4704] fallout from AltiVec patch
In-Reply-To:
Message-ID: <200908121713.n7CHDrhv030384@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4704
Nate Begeman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |natebegeman at mac.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Nate Begeman 2009-08-12 12:13:52 ---
Attempt 2 of this work fixed these issues.
--
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 Aug 12 20:55:54 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 12 Aug 2009 20:55:54 -0500
Subject: [LLVMbugs] [Bug 4708] llvm-prof has cast warnings after r78477
In-Reply-To:
Message-ID: <200908130155.n7D1tsC6002472@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4708
Daniel Dunbar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Daniel Dunbar 2009-08-12 20:55:53 ---
Thanks, applied as r78880
--
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 Aug 12 21:21:58 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Wed, 12 Aug 2009 21:21:58 -0500
Subject: [LLVMbugs] [Bug 4712] New: internal compiler error when compiling
ObjC 2. 0 code with fast enumeration
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4712
Summary: internal compiler error when compiling ObjC 2.0 code
with fast enumeration
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: compile-fail
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: aguynamedryan+llvm at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3304)
--> (http://llvm.org/bugs/attachment.cgi?id=3304)
Testcase code that causes internal compiler error, reduced as per:
http://llvm.org/docs/HowToSubmitABug.html
While using llvm-gcc to compile some code that uses Objective-C 2.0's fast
enumeration, I encountered an internal compiler error.
I am running a version of llvm-gcc that I built from the svn repo, revision
78845. I fully recompiled both llvm and llvm-gcc using this revision number.
The command I am using, under Ubuntu 9.04, to compile the testcase-min.mi file
that I've attached is:
/usr/local/bin/gcc -I/usr/include/GNUstep testcase-min.mi
and the error is:
internal compiler error: in objc_build_foreach_components, at
objc/objc-act.c:19778
--
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 Aug 13 00:34:17 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 13 Aug 2009 00:34:17 -0500
Subject: [LLVMbugs] [Bug 4706] Bitcode reader fails after rev# 78258
In-Reply-To:
Message-ID: <200908130534.n7D5YHJa030643@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4706
Owen Anderson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #4 from Owen Anderson 2009-08-13 00:34:16 ---
I can't reproduce this issue on TOT with either the .ll or the .bc input.
If this is still occurring for you, please reopen and attach a full stack trace
of the crash.
--
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 Aug 13 08:18:38 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 13 Aug 2009 08:18:38 -0500
Subject: [LLVMbugs] [Bug 4713] New: xgcc fails silently,
cannot build crtbegin.o
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4713
Summary: xgcc fails silently, cannot build crtbegin.o
Product: Build scripts
Version: 2.5
Platform: PC
OS/Version: other
Status: NEW
Keywords: build-problem
Severity: blocker
Priority: P2
Component: Makefiles
AssignedTo: unassignedbugs at nondot.org
ReportedBy: dave.hein at aspentech.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3306)
--> (http://llvm.org/bugs/attachment.cgi?id=3306)
Log of make demonstrating the failure.
I'm running on Windows 7 RC (64-bit) using Cygwin. I'm trying to build the gcc
front-end and get a failure building crtbegin.o -- but there is no error
message.
I've attached a log of the stdout/stderr from the make.
So there are two bugs:
1. xgxx fails silently
2. xgxx fails to build crtbegin.o.
Note: Source trees for llvm and llvm-gcc were pulled via SVN from the
RELEASE_25 tag. I built llvm just fine (using a build target of tools-only) and
installed it. The config and make of llvm-gcc worked without any problem up to
this failure.
Note2: This version info for xgcc and gcc might be helpful:
$ gcc/xgcc -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: /cygdrive/c/archives/llvm/2.5/src/llvm-gcc-4.2/configure
--prog
ram-prefix=llvm-
--enable-llvm=/cygdrive/c/Users/heind/cygwin/trash/llvm-objects
--enable-languages=c,c++ --prefix=/cygdrive/c/Users/heind/cygwin/local
Thread model: single
gcc version 4.2.1 (Based on Apple Inc. build 5636) (LLVM build 2.5)
$ gcc -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: /gnu/gcc/package/gcc4-4.3.2-2/src/gcc-4.3.2/configure
--srcdir=
/gnu/gcc/package/gcc4-4.3.2-2/src/gcc-4.3.2 --prefix=/usr --exec-prefix=/usr
--b
indir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/sbin --datadir=/usr/share
-
-localstatedir=/var --sysconfdir=/etc --infodir=/usr/share/info
--mandir=/usr/sh
are/man --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man
-
v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap
--enable-version-specific-
runtime-libs --with-slibdir=/usr/bin --libexecdir=/usr/lib --enable-static
--ena
ble-shared --enable-shared-libgcc --enable-__cxa_atexit --with-gnu-ld
--with-gnu
-as --with-dwarf2 --disable-sjlj-exceptions
--enable-languages=ada,c,c++,fortran
,java,objc,obj-c++ --disable-symvers --enable-libjava --program-suffix=-4
--enab
le-libgomp --enable-libssp --enable-libada --enable-threads=posix
AS=/opt/gcc-to
ols/bin/as.exe AS_FOR_TARGET=/opt/gcc-tools/bin/as.exe
LD=/opt/gcc-tools/bin/ld.
exe LD_FOR_TARGET=/opt/gcc-tools/bin/ld.exe
Thread model: posix
gcc version 4.3.2 20080827 (beta) 2 (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 Thu Aug 13 12:29:38 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 13 Aug 2009 12:29:38 -0500
Subject: [LLVMbugs] [Bug 4714] New: compiler warnings on windows
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4714
Summary: compiler warnings on windows
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: Generic Execution Engine Support
AssignedTo: unassignedbugs at nondot.org
ReportedBy: micah.villmow at amd.com
CC: llvmbugs at cs.uiuc.edu
llvm\include\llvm/Operator.h(104) : warning C4624:
'llvm::OverflowingBinaryOperator' : destructor could not be generated because a
base class destructor is inaccessible
llvm\include\llvm/Operator.h(121) : warning C4624: 'llvm::AddOperator' :
destructor could not be generated because a base class destructor is
inaccessible
llvm\include\llvm/Operator.h(138) : warning C4624: 'llvm::SubOperator' :
destructor could not be generated because a base class destructor is
inaccessible
llvm\include\llvm/Operator.h(155) : warning C4624: 'llvm::MulOperator' :
destructor could not be generated because a base class destructor is
inaccessible
llvm\include\llvm/Operator.h(182) : warning C4624: 'llvm::SDivOperator' :
destructor could not be generated because a base class destructor is
inaccessible
llvm\include\llvm/Operator.h(250) : warning C4624: 'llvm::GEPOperator' :
destructor could not be generated because a base class destructor is
inaccessible
--
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 Aug 13 13:53:51 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 13 Aug 2009 13:53:51 -0500
Subject: [LLVMbugs] [Bug 4710] simplifycfg horks phi node
In-Reply-To:
Message-ID: <200908131853.n7DIrp9F005929@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4710
Nick Lewycky changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
Summary|Assert fires in the Verifier|simplifycfg horks phi node
|when called from the |
|PassManager in 'opt' |
--- Comment #1 from Nick Lewycky 2009-08-13 13:53:51 ---
Asserting is exactly what the verifier is designed to do: check whether the IR
is valid, and if it's not, assert. What you're seeing here is the -simplifycfg
pass producing illegal IR.
This is exactly what test/Transforms/SimplifyCFG/2009-01-18-PHIPropCrash.ll is
testing for. This test is known failing, which is why it's XFAILed (see the
"XFAIL: *" at the top) and contains a reference to the real problem, bug 3016.
*** This bug has been marked as a duplicate of bug 3016 ***
--
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 Aug 13 17:29:22 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 13 Aug 2009 17:29:22 -0500
Subject: [LLVMbugs] [Bug 4706] Bitcode reader fails after rev# 78258
In-Reply-To:
Message-ID: <200908132229.n7DMTMhj028255@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4706
Gareth changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |
--- Comment #5 from Gareth 2009-08-13 17:29:21 ---
I have synced my tree to rev 78927 and call still reproduce this bug.
Callstack is identical to one shown above.
--
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 Aug 13 19:02:55 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Thu, 13 Aug 2009 19:02:55 -0500
Subject: [LLVMbugs] [Bug 4714] compiler warnings on windows
In-Reply-To:
Message-ID: <200908140002.n7E02tDe007599@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4714
Micah Villmow changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Micah Villmow 2009-08-13 19:02:55 ---
This fixed the warnings.
--
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 Aug 14 02:18:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 14 Aug 2009 02:18:26 -0500
Subject: [LLVMbugs] [Bug 4716] New: Another regscavenger assertion
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4716
Summary: Another regscavenger assertion
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: evan.cheng at apple.com, llvmbugs at cs.uiuc.edu,
ojomojo at gmail.com, stoklund at 2pi.dk
Created an attachment (id=3310)
--> (http://llvm.org/bugs/attachment.cgi?id=3310)
regscav.ll
Consider the attached testcase. It currently causes the following assertion:
Assertion failed: ((KillRegs.test(Reg) || isUnused(Reg) ||
isLiveInButUnusedBefore(Reg, MI, MBB, TRI, MRI)) && "Re-defining a live
register!"), function forward, file
/Users/asl/Projects/llvm/src/lib/CodeGen/RegisterScavenging.cpp, line 245.
0 llc 0x00adf040 llvm::sys::SetInterruptFunction(void (*)()) +
82
1 llc 0x00adf42f llvm::sys::SetInterruptFunction(void (*)()) +
1089
2 libSystem.B.dylib 0x9329c2bb _sigtramp + 43
3 libSystem.B.dylib 0xffffffff _sigtramp + 1825979759
4 libSystem.B.dylib 0x9331023a raise + 26
5 libSystem.B.dylib 0x9331c679 abort + 73
6 libSystem.B.dylib 0x933113db __assert_rtn + 101
7 llc 0x0088f03c llvm::RegScavenger::forward() + 1418
8 llc 0x0037f94d
llvm::RegScavenger::forward(llvm::ilist_iterator) + 107
9 llc 0x008558dd
llvm::PEI::replaceFrameIndices(llvm::MachineFunction&) + 1221
10 llc 0x00857881
llvm::PEI::runOnMachineFunction(llvm::MachineFunction&) + 407
11 llc 0x00823f8f
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 77
12 llc 0x00a56db8
llvm::FPPassManager::runOnFunction(llvm::Function&) + 304
13 llc 0x00a57028
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 112
14 llc 0x00a5713c
llvm::FunctionPassManager::run(llvm::Function&) + 130
15 llc 0x000038ba main + 3664
16 llc 0x00002436 start + 54
17 llc 0x00000003 start + 18446744073709542403
Stack dump:
0. Program arguments: ./llc regscav4.bc -debug
1. Running pass 'Prolog/Epilog Insertion & Frame Finalization' on function
'@_start'
I believe that this testcase worked fine ~month ago, so this should be some
fallout from recent changes
--
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 Aug 14 05:25:22 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 14 Aug 2009 05:25:22 -0500
Subject: [LLVMbugs] [Bug 4717] New: Rejects valid c++
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4717
Summary: Rejects valid c++
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
llvm-gcc rejects
class C {
public:
enum { a = 3};
};
template
class C3 : public C2 {
public:
C2::a;
class C4;
};
template
class C3::C4 {
int v[a];
public:
C4(int a2);
};
void f(int a3) {
C3::C4 a4(a3);
}
This was fixed in http://gcc.gnu.org/ml/gcc-cvs/2007-09/msg00616.html, but
unfortunately that patch is GPL3.
--
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 Aug 14 05:29:33 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 14 Aug 2009 05:29:33 -0500
Subject: [LLVMbugs] [Bug 4718] New: Rejects valid c++
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4718
Summary: Rejects valid c++
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
llvm-gcc rejects
class A {
public:
A();
private:
A(const A&);
};
void B(const A& arg);
void C() {
B(A());
}
This was fixed in gcc in http://gcc.gnu.org/ml/gcc-cvs/2007-10/msg00701.html,
but
unfortunately that patch is GPL3.
--
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 Aug 14 17:07:14 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 14 Aug 2009 17:07:14 -0500
Subject: [LLVMbugs] [Bug 3959] [Mips] Return of a double constant causes an
assert.
In-Reply-To:
Message-ID: <200908142207.n7EM7Ekw017172@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3959
Bruno Cardoso Lopes changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Bruno Cardoso Lopes 2009-08-14 17:07:14 ---
This works perfectly for me on TOT.
--
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 Aug 14 17:27:07 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 14 Aug 2009 17:27:07 -0500
Subject: [LLVMbugs] [Bug 4238] loop rotate do not preserve domtree and/ or
domfrontier info properly
In-Reply-To:
Message-ID: <200908142227.n7EMR74d019857@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4238
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #14 from Eli Friedman 2009-08-14 17:27:07 ---
No, that was it... so I suppose this is 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 Fri Aug 14 18:30:59 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 14 Aug 2009 18:30:59 -0500
Subject: [LLVMbugs] [Bug 4720] New: clang should not error on different main
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4720
Summary: clang should not error on different main
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: OpenBSD
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jsg at openbsd.org
CC: llvmbugs at cs.uiuc.edu
Recent versions of clang now error on main defined differently,
this is not in keeping with the behaviour of gcc.
clang:
../../../../kern/init_main.c:137:5: error: first argument of 'main' should be
of type 'int'
int main(void *);
^
../../../../kern/init_main.c:184:1: error: first argument of 'main' should be
of type 'int'
main(void *framep)
^
gcc:
../../../../kern/init_main.c:185: warning: first argument of `main' should be
`int'
../../../../kern/init_main.c:185: warning: `main' takes only zero or two
arguments
The gcc warning can be disabled with -Wno-main, clang does not recognise this
option. With this recent change clang can no longer compile the OpenBSD kernel
and likely other code besides.
--
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 Aug 14 19:03:33 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 14 Aug 2009 19:03:33 -0500
Subject: [LLVMbugs] [Bug 4721] New: memory bugs and codegen crash with vlas
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4721
Summary: memory bugs and codegen crash with vlas
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
This testcase:
void sum1(int rb) {
typedef unsigned char imgrow[rb];
typedef imgrow img[rb];
const img *br;
int y;
(*br)[y];
}
Crashes codegen with an assert, and crashes -ast-print/-ast-dump with valgrind
errors about invalid reads.
--
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 Aug 14 19:47:50 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 14 Aug 2009 19:47:50 -0500
Subject: [LLVMbugs] [Bug 4722] New: GVN doesn't look through select for
alloca
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4722
Summary: GVN doesn't look through select for alloca
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: llvmbugs at cs.uiuc.edu
This probably isn't GVN's fault directly. Somebody isn't peering through select
when checking whether a given value really is a select or not. This means we
miss this optimization:
%struct.X = type { i32 }
define void @_Z1fb(i1 %b) nounwind {
entry:
%x1 = alloca %struct.X, align 8
%x2 = alloca %struct.X, align 8
%iftmp.0.0 = select i1 %b, %struct.X* %x2, %struct.X* %x1
%tmp1 = getelementptr %struct.X* %iftmp.0.0, i64 0, i32 0
%tmp2 = load i32* %tmp1, align 8
%tmp3 = add i32 %tmp2, 1
store i32 %tmp3, i32* %tmp1, align 8
ret void
}
We need to make sure we limit the depth of any such search though, because it
can grow N^2 easily.
--
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 Aug 14 21:16:53 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 14 Aug 2009 21:16:53 -0500
Subject: [LLVMbugs] [Bug 4720] clang should not error on different main
In-Reply-To:
Message-ID: <200908150216.n7F2GrbH017364@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4720
John McCall changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #6 from John McCall 2009-08-14 21:16:53 ---
I've changed -ffreestanding to disable all special handling of main() in
r79070. Please feel free to reopen this bug if you feel that switching to
-ffreestanding is unreasonable.
--
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 Aug 14 21:19:22 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 14 Aug 2009 21:19:22 -0500
Subject: [LLVMbugs] [Bug 4723] New: invalid relocation for PIC emitted in
libstdc++ build
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4723
Summary: invalid relocation for PIC emitted in libstdc++ build
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-g++
AssignedTo: unassignedbugs at nondot.org
ReportedBy: gohman at apple.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3313)
--> (http://llvm.org/bugs/attachment.cgi?id=3313)
preprocessed C++ source
The llvm-gcc build fails on x86_64-unknown-linux-gnu with this message:
/usr/bin/ld: .libs/bitmap_allocator.o: relocation R_X86_64_PC32 against symbol
`__gxx_personality_v0' can not be used when making a shared object; recompile
with -fPIC
It appears that llvm-g++ is emitting a non-PIC relocation in PIC mode,
in the .eh_frame section. Attached is the preprocessed source for
bitmap_allocator.o. Compiling it with both g++-4.2 and llvm-g++ shows
the difference:
g++-4.2 -fpic -c bitmap_allocator.i && readelf -r bitmap_allocator.o |grep
personality
Relocation section '.rela.data.DW.ref.__gxx_personality_v0' at offset 0x1b998
contains 1 entries:
000000000000 018500000001 R_X86_64_64 0000000000000000
__gxx_personality_v0 + 0
llvm-g++ -fpic -c bitmap_allocator.i && readelf -r bitmap_allocator.o |grep
personality
00000000002b 01b800000002 R_X86_64_PC32 0000000000000000
__gxx_personality_v0 + 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 Fri Aug 14 21:56:54 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 14 Aug 2009 21:56:54 -0500
Subject: [LLVMbugs] [Bug 4721] memory bugs and codegen crash with vlas
In-Reply-To:
Message-ID: <200908150256.n7F2usB6022339@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4721
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sharparrow1 at yahoo.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Eli Friedman 2009-08-14 21:56:54 ---
Fixed in r79071.
--
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 Aug 14 23:21:38 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Fri, 14 Aug 2009 23:21:38 -0500
Subject: [LLVMbugs] [Bug 4724] New: "relocation R_X86_64_PC32 against
undefined symbol" building C++ shared libraries
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4724
Summary: "relocation R_X86_64_PC32 against undefined symbol"
building C++ shared libraries
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: ssen at apple.com
CC: llvmbugs at cs.uiuc.edu
I'm trying to build llvm/llvm-gcc-4.2 trunk (r79073) on Ubuntu 9.0.4 (x86_64)
libstdc++-v3 fails to link with:
/usr/bin/ld: .libs/bitmap_allocator.o: relocation R_X86_64_PC32 against symbol
`__gxx_personality_v0' can not be used when making a shared object; recompile
with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
I managed to reduce this to something fairly simple (i think the difference in
mesage is because libstdc++.so actually provides the named symbol):
$ cat foo.cc
extern void foo(void);
void bar(void) throw() {
foo();
}
$ ./gcc/xgcc -Bgcc -c foo.cc -fPIC
$ /usr/bin/g++ -shared -o foo.so foo.o
/usr/bin/ld: foo.o: relocation R_X86_64_PC32 against undefined symbol
`__gxx_personality_v0@@CXXABI_1.3' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
$ g++ -c foo.cc -fPIC
$ /usr/bin/g++ -shared -o foo.so foo.o
$
Based on looking at the assembly, it looks like bad EH frame data, where
llvm-g++ is creating:
.LEH_frame1:
.Lsection_eh_frame1:
.Leh_frame_common1:
.long .Leh_frame_common_end1-.Leh_frame_common_begin1
.Leh_frame_common_begin1:
.long 0x0
.byte 0x1
.asciz "zPLR"
.uleb128 1
.sleb128 -8
.byte 0x10
.uleb128 7
.byte 0x1B
.long __gxx_personality_v0-.
The ".long" creates a 32-bit relocation in a 64-bit ELF object, which can't be
linked into a shared library because the difference might be greater than
32-bits.
g++-4.3.3 creates:
.uleb128 0x7
.byte 0x9b
.long DW.ref.__gxx_personality_v0-.
.byte 0x1b
...
.LEFDE1:
.hidden DW.ref.__gxx_personality_v0
.weak DW.ref.__gxx_personality_v0
.section
.data.DW.ref.__gxx_personality_v0,"awG", at progbits,DW.ref
.__gxx_personality_v0,comdat
.align 8
.type DW.ref.__gxx_personality_v0, @object
.size DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
.quad __gxx_personality_v0
Using -fno-exceptions does eliminate the issue, which reinforces bad EH data
--
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 Aug 15 04:06:39 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 15 Aug 2009 04:06:39 -0500
Subject: [LLVMbugs] [Bug 4723] invalid relocation for PIC emitted in
libstdc++ build
In-Reply-To:
Message-ID: <200908150906.n7F96dCw015891@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4723
Anton Korobeynikov changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |asl at math.spbu.ru
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #2 from Anton Korobeynikov 2009-08-15 04:06:39 ---
*** This bug has been marked as a duplicate of bug 4724 ***
--
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 Aug 15 08:21:52 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 15 Aug 2009 08:21:52 -0500
Subject: [LLVMbugs] [Bug 4716] Another regscavenger assertion
In-Reply-To:
Message-ID: <200908151321.n7FDLqiD018689@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4716
Jakob Stoklund Olesen changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Jakob Stoklund Olesen 2009-08-15 08:21:51 ---
Fixed here: http://llvm.org/viewvc/llvm-project?rev=79096&view=rev
--
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 Aug 15 13:34:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 15 Aug 2009 13:34:36 -0500
Subject: [LLVMbugs] [Bug 4724] "relocation R_X86_64_PC32 against undefined
symbol" building C++ shared libraries
In-Reply-To:
Message-ID: <200908151834.n7FIYaje025658@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4724
Shantonu Sen changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Shantonu Sen 2009-08-15 13:34:36 ---
bootstrap works! (including libstdc++-v3)
--
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 Aug 15 13:42:22 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 15 Aug 2009 13:42:22 -0500
Subject: [LLVMbugs] [Bug 4725] New: SoftenFloatOp_FP_TO_SINT assertion
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4725
Summary: SoftenFloatOp_FP_TO_SINT assertion
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: stoklund at 2pi.dk
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3315)
--> (http://llvm.org/bugs/attachment.cgi?id=3315)
Test case for Blackfin back-end
The attached test case fails with
Assertion failed: (LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_TO_SINT!"),
function SoftenFloatOp_FP_TO_SINT, file
/Users/stoklund/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp, line 693.
I believe this happens when using soft-float on any target with legal i8 or i16
types:
llc -march=x86 -soft-float
llc -march=x86-64 -soft-float
llc -march=pic16
llc -march=bfin
llc -march=msp430
--
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 Aug 15 15:29:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 15 Aug 2009 15:29:36 -0500
Subject: [LLVMbugs] [Bug 4726] New: Patch series to get APInt and APFloat to
take StringRefs
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4726
Summary: Patch series to get APInt and APFloat to take StringRefs
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: idadesub at users.sourceforge.net
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3316)
--> (http://llvm.org/bugs/attachment.cgi?id=3316)
unit tests for APInt
Hi all,
I sent these patches to llvm-commits, but I didn't want to get them lost in the
shuffle so I'm also putting them here. This series does a couple things. First,
it converts APFloat to take a StringRef instead of a raw c string. The patch to
change APInt was already committed. Second, it adds a bunch of unit tests to
APInt and APFloat to validate string parsing. Third, it exposes constructing
ConstantInts and ConstantFPs from llvm-c through strings. Fourth, it then
exposes this to ocaml.
--
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 Aug 15 16:34:42 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 15 Aug 2009 16:34:42 -0500
Subject: [LLVMbugs] [Bug 4727] New: Expose most of IRBuilder and Constant*
to llvm-c and ocaml
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4727
Summary: Expose most of IRBuilder and Constant* to llvm-c and
ocaml
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: idadesub at users.sourceforge.net
CC: llvmbugs at cs.uiuc.edu
This patch series exposes most of the functionality in IRBuilder and the
Constant functions to llvm-c and ocaml. Specifically, it exposes:
IRBuilder::CreateAggregateRet
IRBuilder::CreateNSWAdd
IRBuilder::CreateFAdd
IRBuilder::CreateFSub
IRBuilder::CreateFMul
IRBuilder::CreateExactSDiv
IRBuilder::CreateInBoundsGEP
IRBuilder::CreateStructGEP
IRBuilder::CreateGlobalString
IRBuilder::CreateGlobalStringPtr
IRBuilder::CreateZExtOrBitCast
IRBuilder::CreateSExtOrBitCast
IRBuilder::CreateTruncOrBitCast
IRBuilder::CreatePointerCast
IRBuilder::CreateIntCast
IRBuilder::CreateFPCast
IRBuilder::CreateIsNull
IRBuilder::CreateIsNotNull
IRBuilder::CreatePtrDiff
ConstantExpr::getFNeg
ConstantExpr::getNSWAdd
ConstantExpr::getFAdd
ConstantExpr::getFSub
ConstantExpr::getFMul
ConstantExpr::getExactSDiv
ConstantExpr::getInBoundsGEP
ConstantExpr::getZExtOrBitCast
ConstantExpr::getSExtOrBitCast
ConstantExpr::getTruncOrBitCast
ConstantExpr::getPointerCast
ConstantExpr::getIntegerCast
ConstantExpr::getFPCast
--
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 Aug 15 21:18:18 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 15 Aug 2009 21:18:18 -0500
Subject: [LLVMbugs] [Bug 4727] Expose most of IRBuilder and Constant* to
llvm-c and ocaml
In-Reply-To:
Message-ID: <200908160218.n7G2IIcF018428@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4727
Erick Tryzelaar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #8 from Erick Tryzelaar 2009-08-15 21:18:17 ---
Great, I'll commit it then!
--
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 Aug 15 21:26:26 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sat, 15 Aug 2009 21:26:26 -0500
Subject: [LLVMbugs] [Bug 4722] GVN doesn't look through select for alloca
In-Reply-To:
Message-ID: <200908160226.n7G2QQ7P019555@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4722
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #6 from Chris Lattner 2009-08-15 21:26:25 ---
I don't think this is really worthwhile. Loads from undef values are
incredibly rare, usually the result of jump threading. This case is not worth
making memdep more complex for imo.
--
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 Aug 16 01:36:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 16 Aug 2009 01:36:06 -0500
Subject: [LLVMbugs] [Bug 4728] New: msvc buildbot broken due to r79177
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4728
Summary: msvc buildbot broken due to r79177
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: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu, ofv at wanadoo.es
See http://google1.osuosl.org:8011/builders/clang-i686-xp-msvc9
--
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 Aug 16 01:38:24 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 16 Aug 2009 01:38:24 -0500
Subject: [LLVMbugs] [Bug 3016] simplifycfg creates dead code and then
creates invalid code because of it
In-Reply-To:
Message-ID: <200908160638.n7G6cOea018108@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=3016
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sharparrow1 at yahoo.com
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #9 from Eli Friedman 2009-08-16 01:38:24 ---
Fixed in r79174.
--
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 Aug 16 01:50:09 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 16 Aug 2009 01:50:09 -0500
Subject: [LLVMbugs] [Bug 4031] no LLVM intrinsic for
__builtin_ia32_ptestz128 SSE4. 1 instruction
In-Reply-To:
Message-ID: <200908160650.n7G6o9Ok019653@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4031
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sharparrow1 at yahoo.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Eli Friedman 2009-08-16 01:50:09 ---
This got fixed recently.
--
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 Aug 16 02:45:42 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 16 Aug 2009 02:45:42 -0500
Subject: [LLVMbugs] [Bug 4728] msvc buildbot broken due to r79177
In-Reply-To:
Message-ID: <200908160745.n7G7jgeY032273@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4728
??scar Fuentes changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from ??scar Fuentes 2009-08-16 02:45:41 ---
r79180 should fix 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 Sun Aug 16 04:17:22 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 16 Aug 2009 04:17:22 -0500
Subject: [LLVMbugs] [Bug 4728] msvc buildbot broken due to r79177
In-Reply-To:
Message-ID: <200908160917.n7G9HMSp018158@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4728
Eli Friedman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #2 from Eli Friedman 2009-08-16 04:17:21 ---
It's still broken...
--
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 Aug 16 04:53:48 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 16 Aug 2009 04:53:48 -0500
Subject: [LLVMbugs] [Bug 4728] msvc buildbot broken due to r79177
In-Reply-To:
Message-ID: <200908160953.n7G9rml2011805@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4728
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |benny.kra at gmail.com
Status|REOPENED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Benjamin Kramer 2009-08-16 04:53:48 ---
fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090810/084696.html
Oscar, please make sure I didn't break your parallel builds.
--
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 Aug 16 06:58:32 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 16 Aug 2009 06:58:32 -0500
Subject: [LLVMbugs] [Bug 4707] Use after free in Thumb2SizeReduction
In-Reply-To:
Message-ID: <200908161158.n7GBwWdN027198@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4707
Benjamin Kramer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Benjamin Kramer 2009-08-16 06:58:32 ---
Fixed
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090810/084700.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 Aug 16 22:23:50 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Sun, 16 Aug 2009 22:23:50 -0500
Subject: [LLVMbugs] [Bug 4731] New: NEON vbslq_f32() intrinsic triggers an
assert
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4731
Summary: NEON vbslq_f32() intrinsic triggers an assert
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: deeppatel1987 at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3329)
--> (http://llvm.org/bugs/attachment.cgi?id=3329)
test case
The attached code triggers an assert because the NEON_builtin_vbsl handling
(llvm_arm.cpp:1869) is trying to create an and <4 x float>, <4 x i32>.
--
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 Aug 17 00:06:53 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 17 Aug 2009 00:06:53 -0500
Subject: [LLVMbugs] [Bug 4731] NEON vbslq_f32() intrinsic triggers an assert
In-Reply-To:
Message-ID: <200908170506.n7H56rJX024621@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4731
Bob Wilson changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bob.wilson at apple.com
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Bob Wilson 2009-08-17 00:06:53 ---
I took the fix one step further and canonicalized all the types to use i32
elements. We need to do that for all the bitwise NEON operations to make sure
things get CSEd, so we might as well start with this one.
--
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 Aug 17 03:55:38 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 17 Aug 2009 03:55:38 -0500
Subject: [LLVMbugs] [Bug 4726] Patch series to get APInt and APFloat to take
StringRefs
In-Reply-To:
Message-ID: <200908170855.n7H8tcfW000827@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4726
Erick Tryzelaar changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Erick Tryzelaar 2009-08-17 03:55:38 ---
Yep, I committed it earlier today. Closing!
--
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 Aug 17 10:36:31 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 17 Aug 2009 10:36:31 -0500
Subject: [LLVMbugs] [Bug 4678] "arguments were dropped" warning
In-Reply-To:
Message-ID: <200908171536.n7HFaVN2018277@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4678
Chris Lattner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #6 from Chris Lattner 2009-08-17 10:36:30 ---
Duncan reverted the patch.
--
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 Aug 17 11:32:53 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 17 Aug 2009 11:32:53 -0500
Subject: [LLVMbugs] [Bug 4732] New: spurious undefined reference
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4732
Summary: spurious undefined reference
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 on Ubuntu Hardy on x86.
regehr at john-home:~/volatile/tmp181$ clang -O3 small.c -o foo
/tmp/cc-LeSGPe.o: In function `int321':
small.c:(.text+0x8a): undefined reference to `.LBB5_1'
small.c:(.text+0x90): undefined reference to `.LBB5_1'
collect2: ld returned 1 exit status
clang: error: linker command failed with exit code 1 (use -v to see invocation)
regehr at john-home:~/volatile/tmp181$ clang -v
clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/trunk 79189)
Target: i386-pc-linux-gnu
Thread model: posix
regehr at john-home:~/volatile/tmp181$ cat small.c
char foo1 (int _si1, char _si2)
{
return 0 > 1 || _si1 <= 0 && _si1 < _si2 || 0 ? : 1;
}
char foo2 (int _si1, char _si2)
{
return 0;
}
char foo3 (int _si1, char _si2)
{
return 0 && 1 || _si2 > 0 && (-2147483647 - 1 / _si2) ? : _si2;
}
char func_16 (int z, int a)
{
return 0;
}
void int321 (char p_103, int uint8p_104)
{
char l_106;
func_16 (foo1
(p_103 || foo3 (l_106, p_103), 1), 1);
for (; p_103 <= 1; foo2(0,0))
{
}
}
int main (void)
{
}
--
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 Aug 17 11:46:36 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 17 Aug 2009 11:46:36 -0500
Subject: [LLVMbugs] [Bug 4733] New: Ran out of registers during register
allocation!
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4733
Summary: Ran out of registers during register allocation!
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
regehr at john-home:~/volatile/tmp182$ llvm-gcc -c -O small.c
LLVM ERROR: Ran out of registers during register allocation!
regehr at john-home:~/volatile/tmp182$ llvm-gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure
--prefix=/home/regehr/z/tmp/llvm-gcc-r79189-install
--program-prefix=llvm-r79189- --enable-languages=c,c++
--enable-llvm=/home/regehr/z/tmp/llvm-r79189 --enable-checking=release
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5649) (LLVM build)
regehr at john-home:~/volatile/tmp182$ cat small.c
static char foo1 (int _si1, char _si2)
{
return _si1 > 32767 - _si2 < -_si2 ? : 1;
}
char foo2 (char _ui1, char _ui2)
{
return _ui2;
}
static char foo3 (char _left, int _right)
{
return _right >= 1 * 8 ? : _left;
}
static char foo4 (long long int _left, int _right)
{
return _right >= 1 * 8 ? : _left;
}
struct S0
{
char f0;
char f1;
char f3;
};
struct S1
{
char f1;
char f2;
};
struct S0 g_65 = {
-1, 1
};
long long int g_102;
int safe (int);
int func_13 (int);
void uint80 (int p_11)
{
struct S0 l_17 = {
1, 0x3
};
struct S1 l_14 = {
3, 0x41
};
func_13 (foo2 (l_17.f0, p_11));
if (func_53
(foo1
(foo4 (g_102, p_11),
foo3 (l_14.f2, g_65.f3)), safe (g_65.f1),
safe (l_14.f1), 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 Aug 17 11:47:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 17 Aug 2009 11:47:06 -0500
Subject: [LLVMbugs] [Bug 4734] New: -loop-rotate produces invalid code
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4734
Summary: -loop-rotate produces invalid code
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Loop Optimizer
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3331)
--> (http://llvm.org/bugs/attachment.cgi?id=3331)
testcase
Running opt -loop-rotate transforms a program that runs correctly into one that
produces a 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 Aug 17 18:19:11 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Mon, 17 Aug 2009 18:19:11 -0500
Subject: [LLVMbugs] [Bug 4735] New: LLVM-GCC miscompiles libstdc++
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4735
Summary: LLVM-GCC miscompiles libstdc++
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: d.g.gorbachev at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3333)
--> (http://llvm.org/bugs/attachment.cgi?id=3333)
Possible solution
This is what it generates when compiling string-inst.cc:
.section .gnu.linkonce.t._ZNKSs7_M_dataEv,"a", at progbits
--
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 Aug 18 09:06:47 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 18 Aug 2009 09:06:47 -0500
Subject: [LLVMbugs] [Bug 4735] LLVM-GCC miscompiles libstdc++
In-Reply-To:
Message-ID: <200908181406.n7IE6lpm005503@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4735
Anton Korobeynikov changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Anton Korobeynikov 2009-08-18 09:06:47 ---
Applied, 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 Tue Aug 18 10:08:58 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 18 Aug 2009 10:08:58 -0500
Subject: [LLVMbugs] [Bug 4736] New: ice: Binary operator types must match!
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4736
Summary: ice: Binary operator types must match!
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 on Ubuntu Hardy on x86.
regehr at john-home:~/volatile/tmp184$ clang -O2 small.c
clang-cc: SelectionDAG.cpp:2538: llvm::SDValue
llvm::SelectionDAG::getNode(unsigned int, llvm::DebugLoc, llvm::EVT,
llvm::SDValue, llvm::SDValue): Assertion `VT.isInteger() && N1.getValueType()
== N2.getValueType() && N1.getValueType() == VT && "Binary operator types must
match!"' failed.
0 clang-cc 0x09320ef8
Stack dump:
0. Program arguments:
/home/regehr/z/tmp/llvm-gcc-r79306-install/bin/../libexec/clang-cc -triple
i386-pc-linux-gnu -S -disable-free -main-file-name small.c --relocation-model
static --disable-fp-elim --unwind-tables=0 --mcpu=pentium4 --fmath-errno=1 -O2
-fdiagnostics-show-option -o /tmp/cc-DaVIq9.s -x c small.c
1. parser at end of file
2. Code generation
3. Running pass 'X86 DAG->DAG Instruction Selection' on function '@int87'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
regehr at john-home:~/volatile/tmp184$ clang -v
clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/trunk 79306)
Target: i386-pc-linux-gnu
Thread model: posix
regehr at john-home:~/volatile/tmp184$ cat small.c
struct S0
{
int f0;
long long int f1;
long long int f2;
long long int f3;
};
struct S1
{
int f0;
char f1;
struct S0 f2;
};
volatile int g_4;
struct S1 g_144 = {
0L, 1L
};
int func_72 (char p_74)
{
return g_4;
}
int func_70 (struct S1 p_71)
{
int l_77;
if (func_72 (p_71.f2.f3))
return p_71.f2.f1;
for (l_77 = 0; l_77; )
{
return 1;
}
return p_71.f2.f2;
}
int int87 (uint64p_8)
{
for (; ; )
if (func_70 (g_144))
{
return 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 Tue Aug 18 10:38:22 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 18 Aug 2009 10:38:22 -0500
Subject: [LLVMbugs] [Bug 4737] New: possible clang wrong code bug
Message-ID:
http://llvm.org/bugs/show_bug.cgi?id=4737
Summary: possible clang wrong code bug
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
Sorry for the size of the test input, I wasn't able to reduce it any more. I
think the test input is well-formed and that clang is wrong at -O2.
Seen on Ubuntu Hardy on x86.
regehr at john-home:~/volatile/tmp183$ clang -O small.c -o small
regehr at john-home:~/volatile/tmp183$ ./small
checksum = 1
regehr at john-home:~/volatile/tmp183$ clang -O2 small.c -o small
regehr at john-home:~/volatile/tmp183$ ./small
checksum = 4294967297
regehr at john-home:~/volatile/tmp183$ clang -v
clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/trunk 79306)
Target: i386-pc-linux-gnu
Thread model: posix
regehr at john-home:~/volatile/tmp183$ cat small.c
#include
#include
uint8_t crc32_tab[256];
static uint8_t crc32_context = 1;
static void
crc32_gentab (void)
{
uint32_t crc;
const uint32_t poly = 0xEDB88320UL;
int i, j;
for (i = 0; i < 256; i++) {
crc = i;
for (j = 8; j > 0; j--) {
if (crc & 1) {
crc = (crc >> 1) ^ poly;
} else {
crc >>= 1;
}
}
crc32_tab[i] = crc;
}
}
static void
crc32_byte (uint8_t b) {
crc32_context =
(((int)crc32_context >> 8) & 0x00FFFFFF) ^
crc32_tab[(crc32_context ^ b) & 0xFF];
}
struct S0
{
uint8_t f1;
uint32_t f2;
uint32_t f3;
};
volatile uint8_t g_3 = 1;
uint8_t g_14;
uint64_t g_17;
struct S0 g_174 = {
-4L, 0xE212550BL, 1
};
int32_t func_12 (void);
int32_t func_12 (void)
{
for (g_14 = 0; 0; )
{
}
return 1;
}
uint64_t func_72 (struct S0 p_82);
uint64_t func_72 (struct S0 p_82)
{
if (func_12 ())
{
}
return p_82.f3;
}
void func_1 (void);
void func_1 (void)
{
if (g_3)
{
}
else
{
return;
}
g_17 = func_72 (g_174);
}
int main (void)
{
crc32_gentab ();
func_1 ();
crc32_byte (g_17);
printf ("checksum = %lld\n", g_17);
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 Tue Aug 18 11:04:06 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 18 Aug 2009 11:04:06 -0500
Subject: [LLVMbugs] [Bug 4734] -loop-rotate produces invalid code
In-Reply-To:
Message-ID: <200908181604.n7IG46dc020506@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4734
Rafael ??vila de Esp??ndola changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Rafael ??vila de Esp??ndola 2009-08-18 11:04:06 ---
In the end it looks like this is a duplicate of 4735. It is fixed now.
--
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 Aug 18 12:22:19 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 18 Aug 2009 12:22:19 -0500
Subject: [LLVMbugs] [Bug 4732] codegen pass breaks machine cfg
In-Reply-To:
Message-ID: <200908181722.n7IHMJWe030753@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=4732
Dan Gohman changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Dan Gohman 2009-08-18 12:22:18 ---
This is fixed with r79338.
--
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 Aug 18 12:23:19 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 18 Aug 2009 12:23:19 -0500
Subject: [LLVMbugs] [Bug 2998] llvm-g++ EH code doesn't work with GCC 4.3
libgcc_s.so.1
In-Reply-To:
Message-ID: <200908181723.n7IHNJfU030892@zion.cs.uiuc.edu>
http://llvm.org/bugs/show_bug.cgi?id=2998
Duncan Sands changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #6 from Duncan Sands 2009-08-18 12:23:19 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090817/084856.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 Aug 18 13:01:55 2009
From: bugzilla-daemon at cs.uiuc.edu (bugzilla-daemon at cs.uiuc.edu)
Date: Tue, 18 Aug 2009 13:01:55 -0500
Subject: [LLVMbugs] [Bug 4732] codegen pass breaks machine cfg
In-Reply-To: