[LLVMdev] Signed/Unsigned Instruction selection.

Arsen Hakobyan artinetstudio at gmail.com
Wed Jul 9 01:08:20 PDT 2014


The sign information for binary operators is available in the llvm IR by the
'nsw' (no signed wrap) flag. Seems there is no use of this flag in the code
generation phase.
The sign information is no more available in the selection DAG.
So how can I generate different instructions for binary operators with
signed/unsigned operands in the assembler (e.g. mul/mulu)?



--
View this message in context: http://llvm.1065342.n5.nabble.com/Signed-Unsigned-Instruction-selection-tp70286.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list