[PATCH] D151459: [GlobalIsel][X86] Legalize G_CTLZ and G_CTPOP for 32-bit

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 09:57:32 PDT 2023


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/GlobalISel/legalize-ctpop-32.mir:2
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 2
+# RUN: llc -mtriple=i386-linux-gnu -mattr=+popcnt -run-pass=legalizer %s -o - | FileCheck %s
+
----------------
Why not just add these tests to the existing legalize-ctpop.mir / legalize-leading-zeros.mir ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151459



More information about the llvm-commits mailing list