]> granicus.if.org Git - clang/commit
[IR] Create new method in `Function` class (NFC)
authorEvandro Menezes <e.menezes@samsung.com>
Wed, 3 Apr 2019 21:27:03 +0000 (21:27 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Wed, 3 Apr 2019 21:27:03 +0000 (21:27 +0000)
commitbf65ddbee7d9e7cf185646cc930b2be89479a546
treee5f66b33e7e0cd91867d0e2c0d3311ed9410a013
parent1ca36348d2a41d4e273f4fd3d7471bdb146bd643
[IR] Create new method in `Function` class (NFC)

Create method `optForNone()` testing for the function level equivalent of
`-O0` and refactor appropriately.

Differential revision: https://reviews.llvm.org/D59852

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357638 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp