]> git.ipfire.org Git - thirdparty/gcc.git/commit
Use IN_RANGE in prefetch builtin
authorHaochen Jiang <haochen.jiang@intel.com>
Fri, 1 Nov 2024 08:42:12 +0000 (16:42 +0800)
committerHaochen Jiang <haochen.jiang@intel.com>
Fri, 1 Nov 2024 18:16:53 +0000 (02:16 +0800)
commit79a75b1f551821687e1ce27a82ee39b802ace2b4
treef84fe438e21782cf1d0f3d781a5b0d69402e89e1
parentc5a36c4e591e41efe3e4d892ff62831d801752d3
Use IN_RANGE in prefetch builtin

These are the last minute changes that should apply to MOVRS patch but
disappeared in patch.

Using IN_RANGE will avoid second usage of INTVAL for prefetch check.

gcc/ChangeLog:

* builtins.cc (expand_builtin_prefetch): Use IN_RANGE to
avoid second usage of INTVAL.
gcc/builtins.cc