From 2c99a5eef60356392e53581f2f78bd8305129539 Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Wed, 18 Oct 2023 23:43:22 +1100 Subject: [PATCH] Fix --- melior/src/dialect/llvm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/melior/src/dialect/llvm.rs b/melior/src/dialect/llvm.rs index 5163a599e5..e0654cc7fe 100644 --- a/melior/src/dialect/llvm.rs +++ b/melior/src/dialect/llvm.rs @@ -132,7 +132,7 @@ pub fn nullptr<'c>(ptr_type: Type<'c>, location: Location<'c>) -> Operation<'c> } /// Creates a `llvm.unreachable` operation. -pub fn unreachable<'c>(location: Location<'c>) -> Operation<'c> { +pub fn unreachable(location: Location) -> Operation { OperationBuilder::new("llvm.unreachable", location) .build() .expect("valid operation")