diff --git a/llvm/test/CodeGen/AArch64/cls.ll b/llvm/test/CodeGen/AArch64/cls.ll index f17ccf7d6f682..e050d0557dba1 100644 --- a/llvm/test/CodeGen/AArch64/cls.ll +++ b/llvm/test/CodeGen/AArch64/cls.ll @@ -1,17 +1,23 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6 ; RUN: llc -mtriple=aarch64 %s -o - | FileCheck %s ; @llvm.aarch64.cls must be directly translated into the 'cls' instruction -; CHECK-LABEL: cls -; CHECK: cls [[REG:w[0-9]+]], [[REG]] define i32 @cls(i32 %t) { +; CHECK-LABEL: cls: +; CHECK: // %bb.0: +; CHECK-NEXT: cls w0, w0 +; CHECK-NEXT: ret %cls.i = call i32 @llvm.aarch64.cls(i32 %t) ret i32 %cls.i } -; CHECK-LABEL: cls64 -; CHECK: cls [[REG:x[0-9]+]], [[REG]] define i32 @cls64(i64 %t) { +; CHECK-LABEL: cls64: +; CHECK: // %bb.0: +; CHECK-NEXT: cls x0, x0 +; CHECK-NEXT: // kill: def $w0 killed $w0 killed $x0 +; CHECK-NEXT: ret %cls.i = call i32 @llvm.aarch64.cls64(i64 %t) ret i32 %cls.i }