Integrate LLVM at llvm/llvm-project@9dbdaea9a0
Updates LLVM usage to match [9dbdaea9a0e6](https://github.com/llvm/llvm-project/commit/9dbdaea9a0e6) PiperOrigin-RevId: 325354353
This commit is contained in:
parent
a6978cf4ab
commit
e00565b544
|
@ -1,2 +1,2 @@
|
|||
633e3dacf27ea4950b7067803502490597ba96e0
|
||||
9dbdaea9a0e6f58417b5bd8980e7ea6723fd1783
|
||||
|
||||
|
|
|
@ -217,8 +217,7 @@ struct ReshapeMemRefCastOpConverter
|
|||
SmallVector<Value, 1> sizes;
|
||||
UnrankedMemRefDescriptor::computeSizes(rewriter, loc, typeConverter,
|
||||
{target_desc}, sizes);
|
||||
auto void_ptr_type =
|
||||
LLVM::LLVMType::getInt8PtrTy(typeConverter.getDialect());
|
||||
auto void_ptr_type = LLVM::LLVMType::getInt8PtrTy(rewriter.getContext());
|
||||
Value ranked_desc_mem = rewriter.create<LLVM::AllocaOp>(
|
||||
loc, void_ptr_type, sizes.front(), llvm::None);
|
||||
target_desc.setMemRefDescPtr(rewriter, loc, ranked_desc_mem);
|
||||
|
@ -282,7 +281,7 @@ struct ReshapeMemRefCastOpConverter
|
|||
auto index_arg = cond_block->addArgument(typeConverter.getIndexType());
|
||||
auto stride_arg = cond_block->addArgument(typeConverter.getIndexType());
|
||||
auto pred = rewriter.create<LLVM::ICmpOp>(
|
||||
loc, LLVM::LLVMType::getInt1Ty(typeConverter.getDialect()),
|
||||
loc, LLVM::LLVMType::getInt1Ty(rewriter.getContext()),
|
||||
LLVM::ICmpPredicate::sge, index_arg, zero_index);
|
||||
|
||||
Block *body_block =
|
||||
|
|
Loading…
Reference in New Issue