[PATCH] D148275: [InstCombine] support fold select(X|Y,X|Y,X) to X|Y

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 16 07:02:28 PDT 2023


nikic added inline comments.


================
Comment at: llvm/test/Transforms/InstSimplify/select_or_and.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -S -passes=instsimplify,instnamer < %s | FileCheck %s
+
----------------
What I meant is to run the test through `opt -passes=instnamer` and commit the result, so the input does not contain any `%0` etc. `instnamer` shouldn't be part of the RUN line.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148275



More information about the llvm-commits mailing list