]> granicus.if.org Git - clang/commit
optimize builtin_isnan/isinf to not do an extraneous extension from
authorChris Lattner <sabre@nondot.org>
Thu, 6 May 2010 05:50:07 +0000 (05:50 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 6 May 2010 05:50:07 +0000 (05:50 +0000)
commit81368fbfd6d57150f66c993dc9041d62a7a32c4f
treeace8fae6a03f19ba4e034f4c53677f419473beaf
parent420b11850d3f4557421f43f519b59d528329c668
optimize builtin_isnan/isinf to not do an extraneous extension from
float -> double (which happens because they are modelled as int(...)
functions), and add a testcase for isinf.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103167 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/CodeGen/builtins.c