[PPC] Modify HTM and crypto intrinsics to inherit from GCCBuiltin
authorKit Barton <kbarton@ca.ibm.com>
Mon, 30 Mar 2015 18:46:15 +0000 (18:46 +0000)
committerKit Barton <kbarton@ca.ibm.com>
Mon, 30 Mar 2015 18:46:15 +0000 (18:46 +0000)
commit9039fc77c3f850ae29c5ea5b0de0e8218bea5ef5
tree291e5be97eb8e192863d9cdcd9a3ad4d2dbc172f
parent770661092f2e097a84d6758b8e75d7686fefefd7
[PPC] Modify HTM and crypto intrinsics to inherit from GCCBuiltin

There was a change to the way some of the HTM and crypto builtins are being
handled in Clang. Previously, some of the builtins were dealt with in the
CodeGenFunction::EmitPPCBuiltinExpr method (in order to do range checking on
constant arguments). These check will been moved to Sema
http://reviews.llvm.org/D8672), which means those builtins will not be handled
in the EmitPPCBuiltinExpr method anymore. As a result, the definition of the
intrinsics in IntrinsicsPowerPC.td needs to be modified to inherit from the
GCCBuiltin definition.

http://reviews.llvm.org/D8673

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233581 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsPowerPC.td