about summary refs log tree commit diff
path: root/src/test/ui/optimization-remark.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-28/+0
2022-02-16Update optimization remark test for LLVM 14Nikita Popov-2/+2
The format of the remark changed slightly.
2021-11-29Accumulate all values of `-C remark` optionTomasz Miąsko-2/+11
When `-C remark=...` option is specified multiple times, accumulate all values instead of using only the last one.
2021-11-16Emit LLVM optimization remarks when enabled with `-Cremark`Tomasz Miąsko-0/+19
The default diagnostic handler considers all remarks to be disabled by default unless configured otherwise through LLVM internal flags: `-pass-remarks`, `-pass-remarks-missed`, and `-pass-remarks-analysis`. This behaviour makes `-Cremark` ineffective on its own. Fix this by configuring a custom diagnostic handler that enables optimization remarks based on the value of `-Cremark` option. With `-Cremark=all` enabling all remarks.