[CVP] Avoid duplicate range calculation (NFC)
authorNikita Popov <npopov@redhat.com>
Tue, 17 Jan 2023 15:39:27 +0000 (16:39 +0100)
committerNikita Popov <npopov@redhat.com>
Tue, 17 Jan 2023 15:39:27 +0000 (16:39 +0100)
commit004e613ce41fc14327e9b4bf215378a6150fe812
tree03c147aac9f6a3897d73e9ed46409e5e84faaee8
parenta444fe07dd27580a3e8199831a27f5faa90a423e
[CVP] Avoid duplicate range calculation (NFC)

Calculate the range once and use it in processURem() and
narrowUDivOrURem().
llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp