aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-11-08 16:53:11 +0100
committerNikita Popov <npopov@redhat.com>2023-11-08 16:53:47 +0100
commit2c61f9cab51b4e358e4c86343cbcfa6ffa8504a2 (patch)
tree0e364207f0ed7968c45e045e2a87d57ea4bef954 /llvm/lib/IR/Function.cpp
parent3ccbd68480d0b8f777502300024725b9fc4ed81f (diff)
downloadllvm-2c61f9cab51b4e358e4c86343cbcfa6ffa8504a2.zip
llvm-2c61f9cab51b4e358e4c86343cbcfa6ffa8504a2.tar.gz
llvm-2c61f9cab51b4e358e4c86343cbcfa6ffa8504a2.tar.bz2
[CVP] Fix use after scope
Store the result of ConstantRange::sdiv() in a variable, as getSingleElement() will return a pointer to the APInt it contains.
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions