[PATCH] D135875: [ARM] Add additional targets to divide tests.

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 13 10:17:22 PDT 2022


nickdesaulniers added inline comments.


================
Comment at: llvm/test/CodeGen/ARM/div.ll:4-5
 ; RUN: llc < %s -mtriple=arm-apple-ios -mcpu=swift        | \
-; RUN:     FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-HWDIV
+; RUN:     FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-HWDIV \
+; RUN:                  -check-prefix=CHECK-HWDIV-T2
 ; RUN: llc < %s -mtriple=arm-apple-ios -mcpu=cortex-r4    | \
----------------
You can use `-check-prefixes=CHECK,CHECK-HWDIV,CHECK-HWDIV-T2` rather than repeatedly using `-check-prefix=`.


================
Comment at: llvm/test/CodeGen/ARM/div.ll:149
 ; CHECK-EABI: umull
+; No 32-bit => 64-bit HW multiply instruction
+; CHECK-HWDIV-T1: __udivdi3
----------------
divide


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135875/new/

https://reviews.llvm.org/D135875



More information about the llvm-commits mailing list