projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfe93d3
)
[CodeGen] Don't use SizeTy for EmitNeonSplat.
author
Michael J. Spencer
<bigcheesegs@gmail.com>
Mon, 2 Jun 2014 19:48:59 +0000
(19:48 +0000)
committer
Michael J. Spencer
<bigcheesegs@gmail.com>
Mon, 2 Jun 2014 19:48:59 +0000
(19:48 +0000)
llvm-svn: 210042
clang/lib/CodeGen/CGBuiltin.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CGBuiltin.cpp
b/clang/lib/CodeGen/CGBuiltin.cpp
index
9714534
..
8b62ef0
100644
(file)
--- a/
clang/lib/CodeGen/CGBuiltin.cpp
+++ b/
clang/lib/CodeGen/CGBuiltin.cpp
@@
-5232,7
+5232,7
@@
Value *CodeGenFunction::EmitAArch64BuiltinExpr(unsigned BuiltinID,
Ty = llvm::PointerType::getUnqual(VTy->getElementType());
Ops[0] = Builder.CreateBitCast(Ops[0], Ty);
Ops[0] = Builder.CreateLoad(Ops[0]);
- llvm::Constant *CI = ConstantInt::get(
Size
Ty, 0);
+ llvm::Constant *CI = ConstantInt::get(
Int32
Ty, 0);
Ops[0] = Builder.CreateInsertElement(V, Ops[0], CI);
return EmitNeonSplat(Ops[0], CI);
}