]> granicus.if.org Git - clang/commit
reapply r148902:
authorChris Lattner <sabre@nondot.org>
Wed, 25 Jan 2012 05:34:41 +0000 (05:34 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 25 Jan 2012 05:34:41 +0000 (05:34 +0000)
commit2ce8842641cc312628c4be836d34eb250e7c3f78
treef204b808d00b11ad8e019e6698597cee33503640
parent9eb10ccab6bc1983ec25c65c3dd6fe2a0385103d
reapply r148902:

"use the new ConstantVector::getSplat method where it makes sense."

Also simplify a bunch of code to use the Builder->getInt32 instead
of doing it the hard and ugly way.  Much more progress could be made
here, but I don't plan to do it.

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