aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2022-12-01 07:59:48 -0500
committerSanjay Patel <spatel@rotateright.com>2022-12-01 14:47:37 -0500
commitb7c7fe3d0779b6e332fe6db64e87561deba2e56a (patch)
tree17ab35b0e7ca1a40e57032b66a781920093c9ce7 /llvm/unittests/Support/MathExtrasTest.cpp
parent2191137dff5e1568319e0605c065678b79184346 (diff)
downloadllvm-b7c7fe3d0779b6e332fe6db64e87561deba2e56a.zip
llvm-b7c7fe3d0779b6e332fe6db64e87561deba2e56a.tar.gz
llvm-b7c7fe3d0779b6e332fe6db64e87561deba2e56a.tar.bz2
[InstCombine] improve efficiency of bool logic; NFC
As noted in issue #59266, the logic reduction could be beyond the capabilities of an optimizing compiler, and the code with ternary op is easier to read either way.
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions