[PATCH] D154953: [InstSimplify] Remove the remainder loop if we know the mask is always true

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 04:21:29 PDT 2023


mstorsjo added a comment.

In D154953#4553482 <https://reviews.llvm.org/D154953#4553482>, @Allen wrote:

> Sorry for the trouble.
> Would you show how do I check whether the current function is normal based on the running result?

With the steps outlined above, cloning ffmpeg and compiling it, if you run `make -j$(nproc) fate-wmapro-2ch`, it should print one `TEST` line and exit with a 0 exit code if the code was correctly compiled, or print an error if it was misoptimized.

> In addition, I see a library file named **libswscale/libswscale.a**. I don't know if this is simulating the sve feature. If so, the current optimization based on vscale is a power-of-two value. I don't know whether  this assumption will affect the results.

That is an entirely unrelated library for scaling and color conversion of video frames, it has nothing to do with the ARM SVE feature.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154953



More information about the llvm-commits mailing list