[LLVMbugs] [Bug 20374] New: cannot select X86ISD::FHADD
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jul 20 15:42:11 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20374
Bug ID: 20374
Summary: cannot select X86ISD::FHADD
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
llc b.ll produces:
LLVM ERROR: Cannot select: 0x41fa108: v2f64 = X86ISD::FHADD 0x41f9ef8,
0x41f9ef8 [ORD=2] [ID=4]
0x41f9ef8: v2f64 = undef [ID=1]
0x41f9ef8: v2f64 = undef [ID=1]
In function: test
Testcase:
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind readnone
declare <2 x double> @llvm.x86.sse3.hadd.pd(<2 x double>, <2 x double>) #0
; Function Attrs: nounwind uwtable
define void @test() #1 align 2 {
entry:
%0 = tail call <2 x double> @llvm.x86.sse3.hadd.pd(<2 x double> undef, <2 x
double> undef)
%vecext = extractelement <2 x double> %0, i32 0
br label %label
label:
%add = fadd double %vecext, undef
unreachable
}
attributes #0 = { nounwind readnone }
attributes #1 = { nounwind uwtable "less-precise-fpmad"="false"
"no-frame-pointer-elim"="false" "no-infs-fp-math"="false"
"no-nans-fp-math"="false" "stack-protector-buffer-size"="8"
"unsafe-fp-math"="false" "use-soft-float"="false" }
!llvm.ident = !{!0}
!0 = metadata !{metadata !"clang version 3.5.0 (trunk 213342)"}
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140720/760940b7/attachment.html>
More information about the llvm-bugs
mailing list