]> granicus.if.org Git - clang/commit
instead of making codegen try to know about all of the builtins to generate
authorChris Lattner <sabre@nondot.org>
Mon, 6 Oct 2008 05:59:01 +0000 (05:59 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 6 Oct 2008 05:59:01 +0000 (05:59 +0000)
commitf6b24ea67b5898295e2fc645327837037462a0fd
treee331b7f2d7f0aeccea367a1d53b97c0b76ee3ec1
parent34a74ab81600a40c6324fd76adb724b803dfaf91
instead of making codegen try to know about all of the builtins to generate
constants for them, just use the constant evaluator to do the job.  This
also fixes crashes on 'unknown constant builtins'.

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