]> granicus.if.org Git - clang/commit
CodeGen: refactor ARM builtin handling
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 4 Dec 2014 04:52:37 +0000 (04:52 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 4 Dec 2014 04:52:37 +0000 (04:52 +0000)
commitc082dc34da69a0d0dacf3cbe6de32d259ce43642
treedde092b8fcb605b8c14d76a7b0e3b52a5e189de4
parent10ea5b0b4a10615afcce6bea40ae342a1e7a6140
CodeGen: refactor ARM builtin handling

Create a helper function to construct a value for the ARM hint intrinsic
rather than inling the construction.  In order to avoid the use of the sentinel
value, inline the use of intrinsic instruction retrieval.  NFC.

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