aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2022-01-03 05:51:35 +0000
committerMehdi Amini <joker.eph@gmail.com>2022-01-03 05:55:23 +0000
commita1e62aa75b66e2b25e85fd98f41a8d6134192783 (patch)
tree870044f35feaeea2cd256b8b971c98a1a4785426 /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent8506c8c13bbe257270d7df69790e7f87605011af (diff)
downloadllvm-a1e62aa75b66e2b25e85fd98f41a8d6134192783.zip
llvm-a1e62aa75b66e2b25e85fd98f41a8d6134192783.tar.gz
llvm-a1e62aa75b66e2b25e85fd98f41a8d6134192783.tar.bz2
Minor reflow of FloorDivSIOp/CeilDivSIOp folder to limit the number of APInt API calls (NFC)
Cache the result of the comparison in boolean, and check early for 0 to leverage `(a < 0) == !(a > 0)`.
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions