blob: 6e35010ca1c0b701d91866bee760721f99c68431 [file] [log] [blame]
// RUN: mlir-opt --pass-pipeline="builtin.module(convert-to-llvm)" %s | FileCheck %s
// CHECK-LABEL: @main
// CHECK: llvm.intr.ctlz
module {
func.func @main(%arg0: i32) -> i32 {
%0 = math.ctlz %arg0 : i32
func.return %0 : i32
}
}