[llvm-bugs] [Bug 27083] New: Invalid PPC CTR loop! w/ llvm.maxnum
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Mar 26 02:20:47 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27083
Bug ID: 27083
Summary: Invalid PPC CTR loop! w/ llvm.maxnum
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: PowerPC
Assignee: unassignedbugs at nondot.org
Reporter: david.majnemer at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
consider:
target triple = "powerpc64le-unknown-linux-gnu"
define void @test1(float %f, float* %fp) {
entry:
br label %loop_body
loop_body:
%invar_address.dim.0.01 = phi i64 [ 0, %entry ], [ %1, %loop_body ]
%0 = tail call fast float @llvm.maxnum.f32(float %f, float 1.0)
store float %0, float* %fp, align 4
%1 = add i64 %invar_address.dim.0.01, 1
%2 = icmp eq i64 %1, 2
br i1 %2, label %loop_exit, label %loop_body
loop_exit:
ret void
}
declare float @llvm.maxnum.f32(float, float)
--
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/20160326/ec9cc43e/attachment.html>
More information about the llvm-bugs
mailing list