about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2018-07-30 13:08:56 -0700
committerJosh Stone <jistone@redhat.com>2018-07-30 13:08:56 -0700
commit1ea2765918d1212a07e1359537470c477d82a681 (patch)
tree20e9b1d3e1b5750c8f27031d1070d0601fbd4e8d /src/rustllvm/RustWrapper.cpp
parent54628c8ea844956f3f4f416b82067c634eb09f7b (diff)
downloadrust-1ea2765918d1212a07e1359537470c477d82a681.tar.gz
rust-1ea2765918d1212a07e1359537470c477d82a681.zip
run-pass/const-endianness: negate before to_le()
`const LE_I128` needs parentheses to negate the value *before* calling
`to_le()`, otherwise it doesn't match the operations performed in the
black-boxed part of the test.  This only makes a tangible difference on
big-endian targets.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions