[PATCH] D96913: [AArch64][GlobalISel] Run redundant_sext_inreg in the post-legalizer combiner

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 10:16:51 PST 2021


aemerson added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/GlobalISel/combine-sext-trunc-sextload.mir:2
 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
-# RUN: llc -mtriple aarch64 -run-pass=aarch64-postlegalizer-combiner -verify-machineinstrs %s -o - | FileCheck %s
+# RUN: llc -mtriple aarch64 -run-pass=aarch64-postlegalizer-combiner --aarch64postlegalizercombinerhelper-only-enable-rule="sext_trunc_sextload" -verify-machineinstrs %s -o - | FileCheck %s
+
----------------
What happens if we don't restrict the combiner to this?


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

https://reviews.llvm.org/D96913



More information about the llvm-commits mailing list