[PATCH] D86789: [DAGCombiner] Fold an AND of a masked load into a zext_masked_load

Sam Tebbs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 06:52:03 PDT 2020


samtebbs marked an inline comment as done.
samtebbs added inline comments.


================
Comment at: llvm/test/CodeGen/Thumb2/mve-zext-masked-load.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+mve.fp,+fp64 -verify-machineinstrs -o - %s | FileCheck %s
+
----------------
samtebbs wrote:
> dmgreen wrote:
> > It can be good to show before and after in the tests, to make the differences clearer.
> I've added extra checks to show what was generated before.
It turns out I misunderstood. Here is the difference between codegen with and without this patch.{F12829520}


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

https://reviews.llvm.org/D86789



More information about the llvm-commits mailing list