[PATCH] D133426: [LSR] Address a special case involving NULL.

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 12:32:16 PDT 2022


nikic added inline comments.


================
Comment at: llvm/test/Transforms/LoopStrengthReduce/Power/opaque-null-ptr.ll:2
+; RUN: llc -O3 -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 \
+; RUN:   -stop-after=loop-reduce %s -o - | FileCheck %s
+
----------------
As this is just testing the IR transform, it would be better to use `opt -S -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 -loop-reduce < %s` or so (in which case you can also use update_test_checks.py).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133426



More information about the llvm-commits mailing list