aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2023-11-03 10:21:30 -0700
committerGitHub <noreply@github.com>2023-11-03 10:21:30 -0700
commit1ffea97ffdbe4148db7c6db4638d2ec56234c502 (patch)
treeb4e3daeecbb2182a551eb622e68089beace080ce /clang/lib/Sema/SemaCodeComplete.cpp
parent7ca0f4418a6d385e07d9aff42865c34d3dc2adf7 (diff)
downloadllvm-1ffea97ffdbe4148db7c6db4638d2ec56234c502.zip
llvm-1ffea97ffdbe4148db7c6db4638d2ec56234c502.tar.gz
llvm-1ffea97ffdbe4148db7c6db4638d2ec56234c502.tar.bz2
[indvars] Support known positive extends in getExtendedOperandRecurrence (#70990)
IndVars has the existing notion of a narrow definition which is known to positive and thus both sign and zero extension kinds are actually the same operations. There's existing logic for forming a SCEV based on the extension kind and the no-wrap flags. This change extends that logic to form the opposite extension kind for a positive def if doing so is allowed by the flags. Note that we already do something analogous for the getWideRecurrence case as well.
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions