[PATCH] D122559: [AArch64][GlobalISel] Add new MOVI pattern for fp constants

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 28 02:33:44 PDT 2022


dmgreen added reviewers: aemerson, paquette.
dmgreen added a comment.

Optimizations specifically for -O0 are not usually needed, but it's good to add the optimization for global-isel.



================
Comment at: llvm/test/CodeGen/AArch64/fast-isel-const-float.ll:1
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=aarch64-none-linux-gnu -global-isel -verify-machineinstrs < %s | FileCheck %s --check-prefix=GISEL
----------------
This isn't testing fast-isel.  Can you just add a -global-isel run line for the tests you already added for using movi?


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

https://reviews.llvm.org/D122559



More information about the llvm-commits mailing list