diff options
| author | Nate Begeman <natebegeman@mac.com> | 2006-03-28 04:15:58 +0000 |
|---|---|---|
| committer | Nate Begeman <natebegeman@mac.com> | 2006-03-28 04:15:58 +0000 |
| commit | 1b3928765d7076b16b43ff9cd55ec7f37ac3c760 (patch) | |
| tree | 88531b3d2dba31f8381c64daca825bb3702ef4ee /llvm/lib/Target/PowerPC/PPCISelLowering.cpp | |
| parent | e496f5347e822934e58ea6aaa7294180db886137 (diff) | |
| download | bcm5719-llvm-1b3928765d7076b16b43ff9cd55ec7f37ac3c760.tar.gz bcm5719-llvm-1b3928765d7076b16b43ff9cd55ec7f37ac3c760.zip | |
Add a few more altivec intrinsics
llvm-svn: 27215
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index 46cf60e9981..0c50c59580f 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -300,8 +300,8 @@ bool PPC::isVecSplatImm(SDNode *N, unsigned ByteSize, char *Val) { if (OpVal.Val == 0) return false; // All UNDEF: use implicit def. - unsigned ValSizeInBytes; - uint64_t Value; + unsigned ValSizeInBytes = 0; + uint64_t Value = 0; if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) { Value = CN->getValue(); ValSizeInBytes = MVT::getSizeInBits(CN->getValueType(0))/8; |

