brintos

brintos / llvm-project-archived public Read only

0
0
Text · 688 B · e475b13 Raw
20 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=thumbv8--linux-gnueabihf | FileCheck %s3 4;; This used to cause a backend crash about not being able to5;; select ROTL. Make sure if generates the basic VSHL/VSHR.6define <2 x i64> @testcase(ptr %in) {7; CHECK-LABEL: testcase:8; CHECK:       @ %bb.0:9; CHECK-NEXT:    vld1.64 {d16, d17}, [r0]10; CHECK-NEXT:    vshr.u64 q9, q8, #811; CHECK-NEXT:    vshl.i64 q8, q8, #5612; CHECK-NEXT:    vorr q0, q8, q913; CHECK-NEXT:    bx lr14  %1 = load <2 x i64>, ptr %in15  %2 = lshr <2 x i64> %1, <i64 8, i64 8>16  %3 = shl <2 x i64> %1, <i64 56, i64 56>17  %4 = or <2 x i64> %2, %318  ret <2 x i64> %419}20