Make ISEL used internal functions const/nothrow where appropriate
commitb0894a12e9e04dea26ebb424629564a5cc8c2418
authorRichard Biener <rguenther@suse.de>
Thu, 10 Aug 2023 12:19:38 +0000 (10 14:19 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 10 Aug 2023 13:29:58 +0000 (10 15:29 +0200)
tree099a8f9721d6b555b1885b8eb730c1cb4885fd4b
parentda7b43fb0224cdce5157a747fdd6975b7c81c6cf
Make ISEL used internal functions const/nothrow where appropriate

Both .VEC_SET and .VEC_EXTACT and the various .VCOND internal functions
are operating on registers only and they are not supposed to raise
any exceptions.  The following makes them const/nothrow.  I've
verified this avoids useless SSA updates in ISEL.

* internal-fn.def (VCOND, VCONDU, VCONDEQ, VCOND_MASK,
VEC_SET, VEC_EXTRACT): Make ECF_CONST | ECF_NOTHROW.
gcc/internal-fn.def