diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-12-24 13:29:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-24 13:29:35 +0100 |
| commit | c44bb0230ea4eae5ae97766b243f910b86b6aaae (patch) | |
| tree | 508fe1670389894228dfe53c8d4701e4b02eb460 /src/librustc/session | |
| parent | 7011035c1ca49d4693e65b3b0fa75603650d1b8c (diff) | |
| parent | db24d8e8e25192703eb8f2ad6864207e92979443 (diff) | |
| download | rust-c44bb0230ea4eae5ae97766b243f910b86b6aaae.tar.gz rust-c44bb0230ea4eae5ae97766b243f910b86b6aaae.zip | |
Rollup merge of #57021 - nikic:arg-pointer-align, r=nagisa
Enable emission of alignment attrs for pointer params Instead disable creation of assumptions during inlining using an LLVM opt flag. For non-inlined functions, this gives us alignment information, while not inserting any assumes that kill other optimizations. The `-Z arg-align-attributes` option which previously controlled this behavior is removed. Fixes #54982. r? @nagisa cc @eddyb who added the current behavior, and @scottmcm, who added the `-Z arg-align-attributes` flag.
Diffstat (limited to 'src/librustc/session')
| -rw-r--r-- | src/librustc/session/config.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs index b58d80e2485..8bb3fc12952 100644 --- a/src/librustc/session/config.rs +++ b/src/librustc/session/config.rs @@ -1271,8 +1271,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, "set the MIR optimization level (0-3, default: 1)"), mutable_noalias: Option<bool> = (None, parse_opt_bool, [TRACKED], "emit noalias metadata for mutable references (default: yes on LLVM >= 6)"), - arg_align_attributes: bool = (false, parse_bool, [TRACKED], - "emit align metadata for reference arguments"), dump_mir: Option<String> = (None, parse_opt_string, [UNTRACKED], "dump MIR state to file. `val` is used to select which passes and functions to dump. For example: |
