[LLVMdev] LLVM 2.0 and integer signedness
Alberto González
a.gonzalezsanchez at student.tudelft.nl
Tue Jun 26 09:05:00 PDT 2007
The problem is that what i'm instrumenting is loads and stores, plus
function call arguments and return values, which have no signedness
information.
El 26/06/2007, a las 17:03, Anton Korobeynikov escribió:
> Hello, Alberto.
>
>> I'm using llvm for instrumenting code, and I need to know if
>> there's a way to
>> difference between signed and unsigned Values of integer type
>> during an
>> optimization pass.
> Types are signless in LLVM 2, operations are not. So, you should
> probably inspect insts itself, not their operands.
>
> --
> With best regards, Anton Korobeynikov.
>
> Faculty of Mathematics & Mechanics, Saint Petersburg State University.
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list