This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Does backend need to worry about overlap?


If I have RTL pattern such as:

(SET (MEM...) (MEM...))

(define_insn in backend target.md)
do I need to guard against the possibility that the two operands overlap? Or does the front/middle end take care of any C/C++ language specific needs here? (perhaps by using a register as an intermediate)


Thank you



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]