diff options
author | Eric Christopher <echristo@apple.com> | 2010-09-01 17:29:10 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-09-01 17:29:10 +0000 |
commit | adc581f5cb6bdb929b1c6a155c330151ebd3bf72 (patch) | |
tree | 7f7b4ec71db236ba28152df70682f9eca344de83 /lib/Transforms/Scalar/GVN.cpp | |
parent | f636aa9c7e73c426bf5ddaec1c874e00fd4d2bf7 (diff) | |
download | external_llvm-adc581f5cb6bdb929b1c6a155c330151ebd3bf72.zip external_llvm-adc581f5cb6bdb929b1c6a155c330151ebd3bf72.tar.gz external_llvm-adc581f5cb6bdb929b1c6a155c330151ebd3bf72.tar.bz2 |
Speculatively revert 112699 and 112702, they seem to be causing
self host errors on clang-x86-64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/GVN.cpp')
-rw-r--r-- | lib/Transforms/Scalar/GVN.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp index c62ce1f..e9cb52e 100644 --- a/lib/Transforms/Scalar/GVN.cpp +++ b/lib/Transforms/Scalar/GVN.cpp @@ -1310,7 +1310,7 @@ static Value *ConstructSSAForLoadSet(LoadInst *LI, // Otherwise, we have to construct SSA form. SmallVector<PHINode*, 8> NewPHIs; SSAUpdater SSAUpdate(&NewPHIs); - SSAUpdate.Initialize(LI->getType(), LI->getName()); + SSAUpdate.Initialize(LI); const Type *LoadTy = LI->getType(); |