projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be9b20f
)
Avoid unused variable warning.
author
Jacques Pienaar
<jpienaar@google.com>
Mon, 27 May 2019 07:51:27 +0000
(
00:51
-0700)
committer
Mehdi Amini
<joker.eph@gmail.com>
Sun, 2 Jun 2019 03:04:13 +0000
(20:04 -0700)
--
PiperOrigin-RevId:
250109802
mlir/include/mlir/LLVMIR/LLVMOps.td
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/LLVMIR/LLVMOps.td
b/mlir/include/mlir/LLVMIR/LLVMOps.td
index
fed49d9
..
f0b8caf
100644
(file)
--- a/
mlir/include/mlir/LLVMIR/LLVMOps.td
+++ b/
mlir/include/mlir/LLVMIR/LLVMOps.td
@@
-74,7
+74,7
@@
def LLVM_VoidResultTypeOpBuilder : OpBuilder<
"Builder *builder, OperationState *result, Type resultType, "
"ArrayRef<Value *> operands, ArrayRef<NamedAttribute> attributes = {}",
[{
- auto llvmType = resultType.dyn_cast<LLVM::LLVMType>();
+ auto llvmType = resultType.dyn_cast<LLVM::LLVMType>();
(void)llvmType;
assert(llvmType && "result must be an LLVM type");
assert(llvmType.getUnderlyingType() &&
llvmType.getUnderlyingType()->isVoidTy() &&