diff options
author | Elvis Wang <elvis.wang@sifive.com> | 2025-02-25 11:09:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-25 11:09:09 +0800 |
commit | 8009c1fd81ad0b6ac65724d2b134a92db48f8fbf (patch) | |
tree | 11c4eded0b6c3f814b5a2c04c624241afec0754d /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | c7101188fb3f17176e9152b1d733da6d7199d317 (diff) | |
download | llvm-8009c1fd81ad0b6ac65724d2b134a92db48f8fbf.zip llvm-8009c1fd81ad0b6ac65724d2b134a92db48f8fbf.tar.gz llvm-8009c1fd81ad0b6ac65724d2b134a92db48f8fbf.tar.bz2 |
[LV][VPlan] Prevent calculate cost for skiped instructions in precomputeCosts(). (#127966)
Skip calculating instruction costs for exit conditions in
precomputeCosts() when it should be skipped.
Reported from:
https://github.com/llvm/llvm-project/issues/115744#issuecomment-2670479463
Godbolt for reduced test cases: https://godbolt.org/z/fr4YMeqcv
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions