diff options
| author | David Voit <david.voit@gmail.com> | 2015-05-23 23:33:37 +0200 |
|---|---|---|
| committer | Tamir Duberstein <tamird@gmail.com> | 2015-06-07 22:47:01 -0400 |
| commit | e36e97ba51f512de2fd05e3250db4a7b72caae04 (patch) | |
| tree | 6975e5f661bed7a634d78da346e3b6e67ac30884 /src/rustllvm/RustWrapper.cpp | |
| parent | ce32f6412e1937c0844aa48e5b4e876b96dcd66d (diff) | |
| download | rust-e36e97ba51f512de2fd05e3250db4a7b72caae04.tar.gz rust-e36e97ba51f512de2fd05e3250db4a7b72caae04.zip | |
rustc_trans: 'assume' intrinsic is only available on LLVM >= 3.6
Based on the patch from Luca Bruno. Instead of creating an empty C function in the rt, this version creates an shim noop function using llvm. This function is declared as internal, and the unsupported assume intrinsic and the shim gets completly removed by the optimizer.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
