aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-11-08 14:10:39 +0100
committerNikita Popov <npopov@redhat.com>2023-11-08 14:49:24 +0100
commitd687057de8babc215d1cc883514085704ede5ab4 (patch)
treee564b53d13e28b900e49fa0dff9b8969d10a0c70 /llvm/lib/IR/Function.cpp
parentdc2cfd0407ae9b3f2c625b20bb90b62153edfebe (diff)
downloadllvm-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