[PATCH] D151254: InstSimplify: Require instruction be parented

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 06:51:17 PDT 2023


nikic added inline comments.


================
Comment at: llvm/unittests/Transforms/Utils/LocalTest.cpp:606
   // Test that simplifyCall won't try to query it's parent function for
   // vscale_range attributes in order to simplify llvm.vscale -> constant.
   EXPECT_EQ(simplifyCall(CI, VScale, {}, SimplifyQuery(M.getDataLayout())),
----------------
Per this comment, you should just delete the test.


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

https://reviews.llvm.org/D151254



More information about the llvm-commits mailing list