projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merging r259645:
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
PPCFastISel.cpp
diff --git
a/lib/Target/PowerPC/PPCFastISel.cpp
b/lib/Target/PowerPC/PPCFastISel.cpp
index b451ebf7f27a4da5a6b5b359c6a789e998e9182c..188c8e84c64d6a159bc7a55a875f1c2c12352222 100644
(file)
--- a/
lib/Target/PowerPC/PPCFastISel.cpp
+++ b/
lib/Target/PowerPC/PPCFastISel.cpp
@@
-2108,7
+2108,7
@@
unsigned PPCFastISel::PPCMaterializeInt(const ConstantInt *CI, MVT VT,
}
// Construct the constant piecewise.
- int64_t Imm = CI->getZExtValue();
+ int64_t Imm =
UseSExt ? CI->getSExtValue() :
CI->getZExtValue();
if (VT == MVT::i64)
return PPCMaterialize64BitInt(Imm, RC);