diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-27 21:11:40 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-27 21:11:40 +0000 |
commit | c95d984f7c09016c3c6ea7e5e8f7c0abbddd189e (patch) | |
tree | 26458aa2472c55d405ec5f1ac5f48ffa135ec9a1 /lib/Target/Alpha/AlphaISelPattern.cpp | |
parent | 02c318e1d24573885c5134f886d0c2106e1e705e (diff) |
get rid of another pseudo op
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaISelPattern.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaISelPattern.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp index 6d2cfc63f1..deb367887d 100644 --- a/lib/Target/Alpha/AlphaISelPattern.cpp +++ b/lib/Target/Alpha/AlphaISelPattern.cpp @@ -1607,8 +1607,9 @@ unsigned AlphaISel::SelectExpr(SDOperand N) { case ISD::GlobalAddress: AlphaLowering.restoreGP(BB); has_sym = true; - BuildMI(BB, Alpha::LOAD_ADDR, 1, Result) - .addGlobalAddress(cast<GlobalAddressSDNode>(N)->getGlobal()); + BuildMI(BB, Alpha::LDQrl, 2, Result) + .addGlobalAddress(cast<GlobalAddressSDNode>(N)->getGlobal()) + .addReg(Alpha::R29); return Result; case ISD::TAILCALL: |