]> granicus.if.org Git - clang/commit
remove some code where CGBuiltin folds constants, and use tryEvaluate to
authorChris Lattner <sabre@nondot.org>
Mon, 6 Oct 2008 06:09:18 +0000 (06:09 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 6 Oct 2008 06:09:18 +0000 (06:09 +0000)
commit1f32999ec79a980576e100d64d5f3267eb19ea49
treeb8c36b554e2293b7c37e70c891ef33e9e2bec938
parentf6b24ea67b5898295e2fc645327837037462a0fd
remove some code where CGBuiltin folds constants, and use tryEvaluate to
do it instead.  We should still handle __builtin_nan etc, but don't yet.
This fixes incorrect evaluation of __builtin_constant_p, a FIXME.

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