diff options
author | Florian Hahn <flo@fhahn.com> | 2024-09-02 21:25:30 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-09-02 21:25:31 +0100 |
commit | 954ed05c1001489802ae43d4bea403181570a799 (patch) | |
tree | 56f7c12d8e64ffaccc5500228111c717a02d74b1 /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | 50a02e7c68f964c5d8338369746c849ed8d3bef4 (diff) | |
download | llvm-954ed05c1001489802ae43d4bea403181570a799.zip llvm-954ed05c1001489802ae43d4bea403181570a799.tar.gz llvm-954ed05c1001489802ae43d4bea403181570a799.tar.bz2 |
[VPlan] Simplify MUL operands at recipe construction.
This moves the logic to create simplified operands using SCEV to MUL
recipe creation. This is needed to match the behavior of the legacy's cost
model. TODOs are to extend to other opcodes and move to a transform.
Note that this also restricts the number of SCEV simplifications we
apply to more precisely match the cases handled by the legacy cost
model.
Fixes https://github.com/llvm/llvm-project/issues/107015.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions