]> git.lizzy.rs Git - rust.git/commit
Add `-C target-feature` to all functions
authorAlex Crichton <alex@alexcrichton.com>
Mon, 23 Apr 2018 22:17:07 +0000 (15:17 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sat, 28 Apr 2018 21:28:15 +0000 (14:28 -0700)
commit622371153c66f9e371f587205d14040534060c18
tree7b590b27d18f8dbb945a12f2f89b871a807bf088
parent68a09fc5398a54538559bd46c38a5372d0ed6091
Add `-C target-feature` to all functions

Previously the features specified to LLVM via `-C target-feature` were only
reflected in the `TargetMachine` but this change *also* reflects these and the
base features inside each function itself. This change matches clang and...

Closes rust-lang-nursery/stdsimd#427
src/librustc_trans/attributes.rs
src/librustc_trans/back/write.rs
src/test/codegen/target-feature-on-functions.rs [new file with mode: 0644]