[llvm-dev] arbitrary bit number
Anastasiya Ruzhanskaya via llvm-dev
llvm-dev at lists.llvm.org
Fri Jul 28 03:32:29 PDT 2017
I wanted to ask one general question ( for now it is hard to check it
manually, maybe there is a fast answer):
can I construct an operation, say, addition, from operand_0 - 5 bits size
and operand_1 - 3 bit size -> receive result as 6 bit size . I am basically
reducing these sizes in the whole IR, so I want that all operands can have
arbitrary sizes ( llvm pass is not really good because it converts sizes
only to some predefined sizes). However , I am not sure if there will be
internal checks on these sizes after I will transform the tree. Or is it
better to create some my own attributes, that can describe the sizes?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev