diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2021-11-01 16:20:59 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2021-11-03 10:13:32 -0400 |
commit | b18394ce15639489a91a502d3b9db30d73898191 (patch) | |
tree | 618bb961f99b0105d1835292c9e99e8a661f3d3b /gcc/tree-vectorizer.h | |
parent | 309bb7ff6e2807ecd849c133c3639705f20e5894 (diff) | |
download | gcc-b18394ce15639489a91a502d3b9db30d73898191.zip gcc-b18394ce15639489a91a502d3b9db30d73898191.tar.gz gcc-b18394ce15639489a91a502d3b9db30d73898191.tar.bz2 |
Check for constant builtin value first.
The original code imported from EVRP for evaluating built_in_constant_p
didn't check to see if the value was a constant before checking the
inlining flag. Now we check for a constant first.
* gimple-range-fold.cc (fold_using_range::range_of_builtin_call): Test
for constant before any other processing.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions