HomePhabricator

[SimplifyCFG] Add "safe abs" test from CMSIS DSP 'abs_with_clamp()'

Description

[SimplifyCFG] Add "safe abs" test from CMSIS DSP 'abs_with_clamp()'

With -phi-node-folding-threshold=3
this branch would get flattened into select.

See https://reviews.llvm.org/D65148#1629010

Details

Committed
lebedevriAug 14 2019, 6:10 AM
Parents
rL368846: Merging r368300:
Branches
Unknown
Tags
Unknown