math: always try look up if it's a fixed constant value first
commitd8dbc71c6df8b2613b4dddb74ac1a857fa12ef60
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 27 Feb 2019 06:27:10 +0000 (27 09:27 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 27 Feb 2019 06:27:10 +0000 (27 09:27 +0300)
treede139c6618d08ee279c9d3a7239e5e110a2515ad
parentfcf0b32ff64d939c66dcbfd661c827099a0e109a
math: always try look up if it's a fixed constant value first

We cache constant values so it's worthwhile to check that first to see if
we can take a shortcut.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_math.c