Don't check ix86_indirect_branch_register for GOT operand
commit208fd77a2918b34718c343eece6544704c251afe
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Jan 2018 22:35:36 +0000 (15 22:35 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Jan 2018 22:35:36 +0000 (15 22:35 +0000)
tree3cc7f75d3141794847f50b2ffd2c8e5bd9c810de
parent7fe7c88b792d18b181a82f93042476d231b8ac84
Don't check ix86_indirect_branch_register for GOT operand

Since GOT_memory_operand and GOT32_symbol_operand are simple pattern
matches, don't check ix86_indirect_branch_register here.  If needed,
-mindirect-branch= will convert indirect branch via GOT slot to a call
and return thunk.

* config/i386/constraints.md (Bs): Update
ix86_indirect_branch_register check.  Don't check
ix86_indirect_branch_register with GOT_memory_operand.
(Bw): Likewise.
* config/i386/predicates.md (GOT_memory_operand): Don't check
ix86_indirect_branch_register here.
(GOT32_symbol_operand): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256714 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/constraints.md
gcc/config/i386/predicates.md