[NFC][CodeGen] Create method to clear registers (#66958)
Place the architecuture-specific logic to clear registers in a single place and call it via a TargetInstrInfo method. This will allow one to add instructions to clear registers holding the stack protector guard value before return, but do it in non-architecture-specific code.
Loading
Please sign in to comment