about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-04-14 20:04:14 +1000
committerAlex Crichton <alex@alexcrichton.com>2014-04-15 19:45:00 -0700
commit54ec04f1c12c7fb4dbe5f01fdeb73d1079fef53d (patch)
treeefe91e930ac4527e3057fe65571df112ef5b8607 /src/rustllvm/ExecutionEngineWrapper.cpp
parent93dc55518840ee3cbd570c0d85aa7a445752af8b (diff)
downloadrust-54ec04f1c12c7fb4dbe5f01fdeb73d1079fef53d.tar.gz
rust-54ec04f1c12c7fb4dbe5f01fdeb73d1079fef53d.zip
Use the unsigned integer types for bitwise intrinsics.
Exposing ctpop, ctlz, cttz and bswap as taking signed i8/i16/... is just
exposing the internal LLVM names pointlessly (LLVM doesn't have "signed
integers" or "unsigned integers", it just has sized integer types
with (un)signed *operations*).

These operations are semantically working with raw bytes, which the
unsigned types model better.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions