about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2017-12-30 21:38:43 +0000
committervarkor <github@varkor.com>2017-12-30 21:38:43 +0000
commitfba16d3f0bcf697775d91e91064f8584b9697042 (patch)
treecb63b7eee07991b0f0e6c6eb5472d56b46046a08 /src/rustllvm/RustWrapper.cpp
parent0296b7165bfa633b06a3af6e690c4ccd33d0ea28 (diff)
downloadrust-fba16d3f0bcf697775d91e91064f8584b9697042.tar.gz
rust-fba16d3f0bcf697775d91e91064f8584b9697042.zip
Optimise min/max
Swapping the conditions generates more efficient x86 assembly. See
https://github.com/rust-lang/rust/pull/46926#issuecomment-354567412.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions