about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-08-01 10:12:58 +0200
committerGitHub <noreply@github.com>2018-08-01 10:12:58 +0200
commitb3d6050358018fc40cb7695d620929c26ab5d614 (patch)
tree90997aaac0dd8e208cbcbdab19e365bbfdbe1cc9 /src/rustllvm/RustWrapper.cpp
parent341f88246252514f9f6ee9e23de05841fe01de98 (diff)
parent1ea2765918d1212a07e1359537470c477d82a681 (diff)
downloadrust-b3d6050358018fc40cb7695d620929c26ab5d614.tar.gz
rust-b3d6050358018fc40cb7695d620929c26ab5d614.zip
Rollup merge of #52876 - cuviper:const-endianness-be, r=kennytm
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