mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-04 10:30:30 +00:00
[IR] Clang-format my previous commit. NFCI.
llvm-svn: 285375
This commit is contained in:
parent
63658c3a0c
commit
9bc7d55eeb
@ -2056,8 +2056,8 @@ static Constant *ConstantFoldGetElementPtrImpl(Type *PointeeTy, Constant *C,
|
||||
return C;
|
||||
|
||||
if (isa<UndefValue>(C)) {
|
||||
Type *GEPTy = GetElementPtrInst::getGEPReturnType(C,
|
||||
makeArrayRef((Value * const *)Idxs.data(), Idxs.size()));
|
||||
Type *GEPTy = GetElementPtrInst::getGEPReturnType(
|
||||
C, makeArrayRef((Value * const *)Idxs.data(), Idxs.size()));
|
||||
return UndefValue::get(GEPTy);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user