[llvm-bugs] [Bug 26953] New: Reverted r263303: widen error for zero_extend_vector_inreg
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 15 11:24:45 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=26953
Bug ID: 26953
Summary: Reverted r263303: widen error for
zero_extend_vector_inreg
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: alina.sbirlea at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 16042
--> https://llvm.org/bugs/attachment.cgi?id=16042&action=edit
Simplified reproduction of the bug generated from Halide test
Halide on x86 was seeing failures after r263303.
Failure can be reproduced just with the change in
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Attaching a bitcode test generated from the following Halide test.
Error:
llc foo.bc
WidenVectorResult #0: t39: v3i32 = zero_extend_vector_inreg t38
Do not know how to widen the result of this operator!
UNREACHABLE executed at
[...]/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:1998!
[...]
[Original halide test follows]
[
#include "Halide.h"
#include <iostream>
using namespace Halide;
int main(int argc, char **argv) {
ImageParam input(UInt(8), 1);
Var x("x");
Func f("widen");
f(x) = cast<float>(input(x));
f.vectorize(x, 3);
Target target = get_target_from_environment();
target.set_features({Target::NoBoundsQuery, Target::NoRuntime});
//simplified test:
f.compile_to_bitcode("foo.bc", { input }, "foo", target);
//test and Halide runtime
f.compile_to_bitcode("bar.bc", { input }, "bar",
parse_target_string("x86-64"));
}
]
--
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/20160315/72ff115f/attachment-0001.html>
More information about the llvm-bugs
mailing list