aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-unswitch.cc
diff options
context:
space:
mode:
authorliuhongt <hongtao.liu@intel.com>2022-12-01 11:41:49 +0800
committerliuhongt <hongtao.liu@intel.com>2022-12-02 09:29:10 +0800
commite055e6db974d8b8950b30859a853e0aee74e20c2 (patch)
tree7321783063a99ce623b4e2b4277dffbc2422ef4b /gcc/tree-ssa-loop-unswitch.cc
parenta4e577b044d69977f93b2cb7769dc991eadf2cf0 (diff)
downloadgcc-e055e6db974d8b8950b30859a853e0aee74e20c2.zip
gcc-e055e6db974d8b8950b30859a853e0aee74e20c2.tar.gz
gcc-e055e6db974d8b8950b30859a853e0aee74e20c2.tar.bz2
Fix ICE due to incorrect insn type.
;; if reg/mem op (define_insn_reservation "slm_sseishft_3" 2 (and (eq_attr "cpu" "slm") (and (eq_attr "type" "sseishft") (not (match_operand 2 "immediate_operand")))) "slm-complex, slm-all-eu") in slm.md it will check operands[2] for type sseishft, but for extendbfsf2_1 there's no second operand which caused ICE. The patch set type from sseishft to sseishft1 to fix the issue. gcc/ChangeLog: PR target/107934 * config/i386/i386.md (extendbfsf2_1): Change type from sseishft to sseishft1. gcc/testsuite/ChangeLog: * gcc.target/i386/pr107934.c: New test.
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.cc')
0 files changed, 0 insertions, 0 deletions