diff options
author | Nikita Popov <npopov@redhat.com> | 2023-11-08 14:10:39 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-11-08 14:49:24 +0100 |
commit | d687057de8babc215d1cc883514085704ede5ab4 (patch) | |
tree | e564b53d13e28b900e49fa0dff9b8969d10a0c70 /llvm/lib/IR/Function.cpp | |
parent | dc2cfd0407ae9b3f2c625b20bb90b62153edfebe (diff) | |
download | llvm-d687057de8babc215d1cc883514085704ede5ab4.zip llvm-d687057de8babc215d1cc883514085704ede5ab4.tar.gz llvm-d687057de8babc215d1cc883514085704ede5ab4.tar.bz2 |
[CVP] Try to fold sdiv to constant
If we know that the sdiv result is a single constant, directly
use that instead of performing narrowing.
Fixes https://github.com/llvm/llvm-project/issues/71659.
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions