diff options
author | Sanjay Patel <spatel@rotateright.com> | 2022-12-01 07:59:48 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2022-12-01 14:47:37 -0500 |
commit | b7c7fe3d0779b6e332fe6db64e87561deba2e56a (patch) | |
tree | 17ab35b0e7ca1a40e57032b66a781920093c9ce7 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 2191137dff5e1568319e0605c065678b79184346 (diff) | |
download | llvm-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