Displaying 3 results from an estimated 3 matches for "jonpry".
Did you mean:
jonny
2013 Dec 31
2
[LLVMdev] [PATCH] R600 - Fix zero extend of i1
...uch as:
__kernel void if_eq(__global int * out, int arg0, int arg1){
out[0] = arg0==arg1?0:1;
}
Clang generates IR like:
%1 = icmp eq i32 %arg0, %arg1
%. = zext i1 %1 to i32
This eventually crashes ISel on R600. Attached patch adds a selector so
it will compile.
Regards,
Jon Pry
jonpry at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131230/057c13c5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-R600-Fix-zero-extend-o...
2013 Dec 31
4
[LLVMdev] [Patch][RFC] Change R600 data layout
...generated by clang
was perfectly valid but crashes llc.
For now, I think this patch is a good solution because it makes better
code and allows me to compile programs much longer than my previous 3
line record :) Not so much a bandaid as a something else that needed
to be done.
Regards,
Jon Pry
jonpry at gmail.com
-------------- next part --------------
2014 Jan 02
2
[LLVMdev] [PATCH] R600 - Fix zero extend of i1
> This patch looks good, but you need to add a test case. You can add it
> to the file test/CodeGen/R600/zero_extend.ll
Version 2 of patch attached which includes test case.
-Jon
-------------- next part --------------