[PATCH] D101508: [EarlyIfConversion] Avoid producing selects with identical operands

Jon Roelofs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 28 19:08:32 PDT 2021


jroelofs added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/early-ifcvt-same-value.mir:2
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
+# RUN: llc -mtriple=aarch64-- -mcpu=apple-a7 -run-pass=early-ifcvt -stress-early-ifcvt -verify-machineinstrs %s -o - | FileCheck %s
+
----------------
jroelofs wrote:
> thegameg wrote:
> > `mcpu` needed?
> Yes, otherwise the if-conversion doesn't fire.
erm, you're right. I must have needed that before I added -stress-early-ifcvt


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101508



More information about the llvm-commits mailing list