[PATCH] D150667: [GlobalIsel][X86] Legalize G_BSWAP

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 06:58:46 PDT 2023


arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/test/CodeGen/X86/GlobalISel/legalize-bswap.mir:2
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 2
+# RUN: llc -O0 -mtriple=x86_64-linux-gnu -run-pass=legalizer %s -o - | FileCheck %s
+
----------------
Don't need -O0


================
Comment at: llvm/test/CodeGen/X86/GlobalISel/legalize-bswap.mir:8-17
+alignment:       16
+legalized:       false
+regBankSelected: false
+registers:
+  - { id: 0, class: _, preferred-register: '' }
+  - { id: 1, class: _, preferred-register: '' }
+liveins:
----------------
Don't need any of this in any legalize tests 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150667



More information about the llvm-commits mailing list