about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2022-06-30 21:55:19 -0400
committerBen Kimock <kimockb@gmail.com>2022-07-24 12:50:05 -0400
commit761ddf3e7fe2dea4e0dc437ffca24be8e529852b (patch)
tree1b4f19b40e110ef9b9285c007755c6623850e628 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentb4151a41a0b275dee59ffbbc115e7bfc5be8a8c3 (diff)
downloadrust-761ddf3e7fe2dea4e0dc437ffca24be8e529852b.tar.gz
rust-761ddf3e7fe2dea4e0dc437ffca24be8e529852b.zip
Remove some redundant checks from BufReader
The implementation of BufReader contains a lot of redundant checks.
While any one of these checks is not particularly expensive to execute,
especially when taken together they dramatically inhibit LLVM's ability
to make subsequent optimizations.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions