]> granicus.if.org Git - clang/commit
Support MIR opt-remarks with -fsave-optimization-record
authorAdam Nemet <anemet@apple.com>
Thu, 26 Jan 2017 04:07:11 +0000 (04:07 +0000)
committerAdam Nemet <anemet@apple.com>
Thu, 26 Jan 2017 04:07:11 +0000 (04:07 +0000)
commit694415162d1e5cc360f25558db7f5e2b5adae138
tree0ed4d0dbe85ee2769adaeb6708548f2c74c86515
parent9a249fca06329604bad93e4f55af0e5f7139434d
Support MIR opt-remarks with -fsave-optimization-record

The handler that deals with IR passed/missed/analysis remarks is extended to
also handle the corresponding MIR remarks.

The more thorough testing in done via llc (rL293113, rL293121).  Here we just
make sure that the functionality is accessible through clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@293146 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenAction.cpp
test/CodeGen/opt-record-MIR.c [new file with mode: 0644]