Fix PPC ISD::Declare isel and eliminate the need for PPCTargetLowering::LowerGlobalAd...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 16 Jan 2009 22:57:32 +0000 (22:57 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 16 Jan 2009 22:57:32 +0000 (22:57 +0000)
commitee5c2b8ba2bd9670931705ca04a46052d534ade9
tree6897264049d28a2034d411f7beace1024a5c926c
parent7059d47a6e1a378232dce3e47b51434dec0ea608
Fix PPC ISD::Declare isel and eliminate the need for PPCTargetLowering::LowerGlobalAddress to check if isVerifiedDebugInfoDesc() is true. Given the recent changes, it would falsely return true for a lot of GlobalAddressSDNode's.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62373 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/2009-01-16-DeclareISelBug.ll [new file with mode: 0644]