[llvm] fa221fc - Regenerate rotate test. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 20 05:55:14 PST 2020
Author: Simon Pilgrim
Date: 2020-02-20T13:54:43Z
New Revision: fa221fc6b8ac5ecd344daac634f0db8f22ebf435
URL: https://github.com/llvm/llvm-project/commit/fa221fc6b8ac5ecd344daac634f0db8f22ebf435
DIFF: https://github.com/llvm/llvm-project/commit/fa221fc6b8ac5ecd344daac634f0db8f22ebf435.diff
LOG: Regenerate rotate test. NFC.
Added:
Modified:
llvm/test/CodeGen/ARM/rotate.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/ARM/rotate.ll b/llvm/test/CodeGen/ARM/rotate.ll
index f3f7de2160fb..11c9f7cf82f5 100644
--- a/llvm/test/CodeGen/ARM/rotate.ll
+++ b/llvm/test/CodeGen/ARM/rotate.ll
@@ -1,11 +1,16 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=thumbv8--linux-gnueabihf | FileCheck %s
;; This used to cause a backend crash about not being able to
;; select ROTL. Make sure if generates the basic VSHL/VSHR.
define <2 x i64> @testcase(<2 x i64>* %in) {
-; CHECK-LABEL: testcase
-; CHECK: vshl.i64
-; CHECK: vshr.u64
+; CHECK-LABEL: testcase:
+; CHECK: @ %bb.0:
+; CHECK-NEXT: vld1.64 {d16, d17}, [r0]
+; CHECK-NEXT: vshl.i64 q9, q8, #56
+; CHECK-NEXT: vshr.u64 q8, q8, #8
+; CHECK-NEXT: vorr q0, q8, q9
+; CHECK-NEXT: bx lr
%1 = load <2 x i64>, <2 x i64>* %in
%2 = lshr <2 x i64> %1, <i64 8, i64 8>
%3 = shl <2 x i64> %1, <i64 56, i64 56>
More information about the llvm-commits
mailing list