summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-10-17 21:07:48 +0000
committerTanya Lattner <tonic@nondot.org>2008-10-17 21:07:48 +0000
commit50e5d261c04ccbd14767096e322cd7efc6caffed (patch)
tree3c2ea6f5248afb40440a6eacd0da6582353c2168
parentb69f6c025474f58dcf5e1345ca535ffa829fb972 (diff)
downloadllvm-50e5d261c04ccbd14767096e322cd7efc6caffed.tar.gz
Merge from mainline.
llvm-svn: 57725
-rw-r--r--llvm/lib/Target/PowerPC/PPCInstrInfo.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.td b/llvm/lib/Target/PowerPC/PPCInstrInfo.td
index 947d1408b6db..508e9acac754 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.td
@@ -180,14 +180,14 @@ def HA16 : SDNodeXForm<imm, [{
}]>;
def MB : SDNodeXForm<imm, [{
// Transformation function: get the start bit of a mask
- unsigned mb, me;
+ unsigned mb = 0, me;
(void)isRunOfOnes((unsigned)N->getZExtValue(), mb, me);
return getI32Imm(mb);
}]>;
def ME : SDNodeXForm<imm, [{
// Transformation function: get the end bit of a mask
- unsigned mb, me;
+ unsigned mb, me = 0;
(void)isRunOfOnes((unsigned)N->getZExtValue(), mb, me);
return getI32Imm(me);
}]>;