mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix Regression/CodeGen/PowerPC/2005-01-14-UndefLong.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19557 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2349ba939d
commit
3c70764907
@ -612,6 +612,8 @@ void PPC32ISel::copyConstantToRegister(MachineBasicBlock *MBB,
|
||||
Constant *C, unsigned R) {
|
||||
if (isa<UndefValue>(C)) {
|
||||
BuildMI(*MBB, IP, PPC::IMPLICIT_DEF, 0, R);
|
||||
if (getClass(C->getType()) == cLong)
|
||||
BuildMI(*MBB, IP, PPC::IMPLICIT_DEF, 0, R+1);
|
||||
return;
|
||||
}
|
||||
if (C->getType()->isIntegral()) {
|
||||
|
Loading…
Reference in New Issue
Block a user