[PATCH] D117758: [GlobalISel] Change ConstantFoldVectorBinop to return vector of APInt

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 11:22:00 PDT 2022


foad added a comment.

In D117758#3509363 <https://reviews.llvm.org/D117758#3509363>, @paquette wrote:

> Looks like a compile time improvement too, maybe?

I haven't tried to measure it, but yes part of the rationale is that it can avoid doing unnecessary work in some cases.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117758



More information about the llvm-commits mailing list