[LLVMdev] How to deal with wider Integer type?

Ruiling Song ruiling.song83 at gmail.com
Wed Sep 3 22:53:54 PDT 2014


Hi,

I am currently working on an opencl project based on LLVM, the target
device is 32bit.
I met a problem that some llvm passes like GVN SROA will generate some IR
operating
on wide integer types like i128 or i512. But the device does not support
such kind of data type.
Is there any idea on how to lower this kind of IR to only operate on i32 or
vector of i32? Or is there any existing code handle this?

Thanks!
Ruiling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140904/7601277d/attachment.html>


More information about the llvm-dev mailing list