Skip to content
Commit 86616530 authored by Craig Topper's avatar Craig Topper
Browse files

[ConstantRange] Fix a couple cases where we were possibly throwing away an...

[ConstantRange] Fix a couple cases where we were possibly throwing away an APInt allocation we could reuse. NFC

This uses setAllBits to replace getMaxValue and operator=(uint64_t) instead of constructing an APInt from uint64_t.

llvm-svn: 301761
parent c12f10fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment