Don't forget to emit the load from indirect symbol when using movw + movt to materialize GA indirect symbols.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2011-01-19 02:16:49 +00:00
parent 6cd0b17ba7
commit fc8475bde9
4 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ ARMSubtarget::ARMSubtarget(const std::string &TT, const std::string &FS,
if (UseMOVT && hasV6T2Ops()) {
unsigned Maj, Min, Rev;
TargetTriple.getDarwinNumber(Maj, Min, Rev);
UseMovt = (Maj > 4 || Min > 2);
UseMovt = Maj > 4;
}
}