aboutsummaryrefslogtreecommitdiff
path: root/gcc/function-tests.c
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2016-06-06 16:06:05 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2016-06-06 16:06:05 +0000
commit36f9ad69336aeee0aa7cf2d8640fccbec8d659e1 (patch)
treebcfb07a9b834a240baa5c8658d3bcc74e6499f2b /gcc/function-tests.c
parente8536e2b9f96f42d7f12f13254300476debd283a (diff)
downloadgcc-36f9ad69336aeee0aa7cf2d8640fccbec8d659e1.zip
gcc-36f9ad69336aeee0aa7cf2d8640fccbec8d659e1.tar.gz
gcc-36f9ad69336aeee0aa7cf2d8640fccbec8d659e1.tar.bz2
[3/3][RTL ifcvt] PR middle-end/37780: Conditional expression with __builtin_clz() should be optimized out
PR middle-end/37780 * ifcvt.c (noce_try_ifelse_collapse): New function. Declare prototype. (noce_process_if_block): Call noce_try_ifelse_collapse. * simplify-rtx.c (simplify_cond_clz_ctz): New function. (simplify_ternary_operation): Use the above to simplify conditional CLZ/CTZ expressions. * gcc.c-torture/execute/pr37780.c: New test. * gcc.target/aarch64/pr37780_1.c: Likewise. * gcc.target/arm/pr37780_1.c: Likewise. From-SVN: r237141
Diffstat (limited to 'gcc/function-tests.c')
0 files changed, 0 insertions, 0 deletions