[LLVMbugs] [Bug 3468] New: instcombine crash on x86-32 long double
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Feb 3 05:43:48 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=3468
Summary: instcombine crash on x86-32 long double
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
This breaks the Ada build just in time for the release!
Run opt -instcombine on the following testcase to see a
crash in the constant folder:
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i386-pc-linux-gnu"
define x86_fp80 @ada__numerics__aux__tanh(x86_fp80 %x) readnone {
entry:
%0 = call x86_fp80 @fabsl(x86_fp80 %x) nounwind readnone
; <x86_fp80> [#uses=1]
%1 = fcmp ogt x86_fp80 %0, 0xK4003B800000000000000 ; <i1>
[#uses=1]
br i1 %1, label %bb, label %bb4
bb: ; preds = %entry
%2 = bitcast i80 0 to x86_fp80 ; <x86_fp80> [#uses=1]
%3 = call x86_fp80
@system__fat_llf__attr_long_long_float__copy_sign(x86_fp80 %2, x86_fp80
0xK00000000000000000000) readnone ; <x86_fp80> [#uses=1]
ret x86_fp80 %3
bb4: ; preds = %entry
ret x86_fp80 0xK00000000000000000000
}
declare x86_fp80 @fabsl(x86_fp80) nounwind readnone
declare x86_fp80 @system__fat_llf__attr_long_long_float__copy_sign(x86_fp80,
x86_fp80) readnone
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list