]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: fix misleading new patterns of splitters
authorJiufu Guo <guojiufu@linux.ibm.com>
Thu, 11 Aug 2022 12:01:28 +0000 (20:01 +0800)
committerJiufu Guo <guojiufu@linux.ibm.com>
Wed, 7 Sep 2022 05:21:56 +0000 (13:21 +0800)
commit34ea461fdb471b4d9afa555da69dbc6d02713c54
tree615bf5403787a7bc1a2704ac953b18c84d8d7a82
parentc0852b51b7a68ada822955eb7ef83d933cc33e47
rs6000: fix misleading new patterns of splitters

As a comment in
https://gcc.gnu.org/pipermail/gcc-patches/2022-August/599556.html

Those splitters call rs6000_emit_set_const directly, and the replacements
are never used.  Using (pc) would be less misleading.

gcc/ChangeLog:

* config/rs6000/rs6000.md: (constant splitters): Use "(pc)" as the
replacements.
gcc/config/rs6000/rs6000.md