mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Add support for vectors of pointers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145801 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3099,7 +3099,7 @@ void SelectionDAGBuilder::visitGetElementPtr(const User &I) {
|
||||
unsigned Amt = ElementSize.logBase2();
|
||||
IdxN = DAG.getNode(ISD::SHL, getCurDebugLoc(),
|
||||
N.getValueType(), IdxN,
|
||||
DAG.getConstant(Amt, TLI.getPointerTy()));
|
||||
DAG.getConstant(Amt, IdxN.getValueType()));
|
||||
} else {
|
||||
SDValue Scale = DAG.getConstant(ElementSize, TLI.getPointerTy());
|
||||
IdxN = DAG.getNode(ISD::MUL, getCurDebugLoc(),
|
||||
|
Reference in New Issue
Block a user