[PATCH] D58081: [GlobalISel][AArch64] Select llvm.bswap* for non-vector types

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 11 16:10:14 PST 2019


arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: wdng.

LGTM



================
Comment at: lib/Target/AArch64/select-bswap.mir:10-12
+registers:
+  - { id: 0, class: gpr }
+  - { id: 1, class: gpr }
----------------
You can drop the register sections


================
Comment at: lib/Target/AArch64/select-bswap.mir:41
+    %0:gpr(s64) = COPY $d0
+    %1:gpr(s64)  = G_BSWAP %0
+    $x0 = COPY %1(s64)
----------------
Extra space before =


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

https://reviews.llvm.org/D58081





More information about the llvm-commits mailing list