diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-08 17:12:57 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-08 17:12:57 +0000 |
commit | c46e6a5940c50058e00c0c5f9123fd82e338d29a (patch) | |
tree | 89a719d723035c54a190b1f81d329834f1f93336 /docs | |
parent | 148779df305667b6942fee7e758fdf81a6498f38 (diff) |
Notes
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Lexicon.rst | 7 | ||||
-rw-r--r-- | docs/MIRLangRef.rst | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/Lexicon.rst b/docs/Lexicon.rst index 5d16091e27e5..35687e258182 100644 --- a/docs/Lexicon.rst +++ b/docs/Lexicon.rst @@ -38,6 +38,13 @@ B **BB Vectorization** Basic-Block Vectorization +**BDCE** + Bit-tracking dead code elimination. Some bit-wise instructions (shifts, + ands, ors, etc.) "kill" some of their input bits -- that is, they make it + such that those bits can be either zero or one without affecting control or + data flow of a program. The BDCE pass removes instructions that only + compute these dead bits. + **BURS** Bottom Up Rewriting System --- A method of instruction selection for code generation. An example is the `BURG diff --git a/docs/MIRLangRef.rst b/docs/MIRLangRef.rst index d5e227a2018c..b4ca8f2347a7 100644 --- a/docs/MIRLangRef.rst +++ b/docs/MIRLangRef.rst @@ -78,6 +78,8 @@ Simplifying MIR files The MIR code coming out of ``-stop-after``/``-stop-before`` is very verbose; Tests are more accessible and future proof when simplified: +- Use the ``-simplify-mir`` option with llc. + - Machine function attributes often have default values or the test works just as well with default values. Typical candidates for this are: `alignment:`, `exposesReturnsTwice`, `legalized`, `regBankSelected`, `selected`. |