summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LoopRotation.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-09-01 17:29:10 +0000
committerEric Christopher <echristo@apple.com>2010-09-01 17:29:10 +0000
commita5d315c6651ce927fad4e39e873b117e4feb129f (patch)
tree3c4bc7cbc7de13d88503fabe04422a5b0394f0e8 /llvm/lib/Transforms/Scalar/LoopRotation.cpp
parent2bd4cee51646babc4c9f749b6c49bb0a2fdd8f98 (diff)
downloadbcm5719-llvm-a5d315c6651ce927fad4e39e873b117e4feb129f.tar.gz
bcm5719-llvm-a5d315c6651ce927fad4e39e873b117e4feb129f.zip
Speculatively revert 112699 and 112702, they seem to be causing
self host errors on clang-x86-64. llvm-svn: 112719
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopRotation.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopRotation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopRotation.cpp b/llvm/lib/Transforms/Scalar/LoopRotation.cpp
index 65acc1d9257..31957ddac14 100644
--- a/llvm/lib/Transforms/Scalar/LoopRotation.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopRotation.cpp
@@ -221,7 +221,7 @@ bool LoopRotate::rotateLoop(Loop *Lp, LPPassManager &LPM) {
// The value now exits in two versions: the initial value in the preheader
// and the loop "next" value in the original header.
- SSA.Initialize(OrigHeaderVal->getType(), OrigHeaderVal->getName());
+ SSA.Initialize(OrigHeaderVal);
SSA.AddAvailableValue(OrigHeader, OrigHeaderVal);
SSA.AddAvailableValue(OrigPreHeader, OrigPreHeaderVal);
OpenPOWER on IntegriCloud