aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2021-05-26 08:40:01 -0700
committerPhilip Reames <listmail@philipreames.com>2021-05-26 08:41:25 -0700
commit9cc2181ec3885b5b505849448955659b3c6299d5 (patch)
treeffd15f5fde649050bf092085488db4ee8028dbb6 /llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp
parent31191e15b6e362bcbd83353344bbb102f822762d (diff)
downloadllvm-9cc2181ec3885b5b505849448955659b3c6299d5.zip
llvm-9cc2181ec3885b5b505849448955659b3c6299d5.tar.gz
llvm-9cc2181ec3885b5b505849448955659b3c6299d5.tar.bz2
[unroll] Use value domain for symbolic execution based cost model
The current full unroll cost model does a symbolic evaluation of the loop up to a fixed limit. That symbolic evaluation currently simplifies to constants, but we can generalize to arbitrary Values using the InstructionSimplify infrastructure at very low cost. By itself, this enables some simplifications, but it's mainly useful when combined with the branch simplification over in D102928. Differential Revision: https://reviews.llvm.org/D102934
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp')
0 files changed, 0 insertions, 0 deletions