aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-04-21 01:54:43 -0700
committerChris Robinson <[email protected]>2018-04-21 01:54:43 -0700
commita55c93e1f59dfadda64a63e4c1b0881ca34dbad8 (patch)
treebd1f5ea97b5e7f04f965f0b8cc0185935eeea70a /Alc/mixer
parent400ab8766c02e76bce4c989768a9cd2f6e330f49 (diff)
Improve ASSUME for Clang
For some reason, the { if(!x)__builtin_unreachable(); } construct does not provide the same optimization opportunity for Clang (even though the condition being false would trigger undefined behavior by reaching unreachable code, it still performs checks and such for the condition potentially being false). Using __builtin_assume seems to work better.
Diffstat (limited to 'Alc/mixer')
0 files changed, 0 insertions, 0 deletions