mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
Fix 'raise' to work with packed types. Patch by Morten Ofstad.
llvm-svn: 19693
This commit is contained in:
parent
fde1a5688b
commit
302ea8908d
@ -382,7 +382,7 @@ bool RPR::PeepholeOptimize(BasicBlock *BB, BasicBlock::iterator &BI) {
|
||||
//
|
||||
ElTy = CurSTy->getElementType(0);
|
||||
} else {
|
||||
ElTy = cast<ArrayType>(CurCTy)->getElementType();
|
||||
ElTy = cast<SequentialType>(CurCTy)->getElementType();
|
||||
}
|
||||
|
||||
// Insert a zero to index through this type...
|
||||
|
Loading…
Reference in New Issue
Block a user