================
@@ -1330,6 +1330,9 @@ void MCCFIInstruction::replaceRegister(unsigned FromReg,
unsigned ToReg) {
ReplaceReg(F.Register);
ReplaceReg(F.SpillRegister);
ReplaceReg(F.MaskRegister);
+ },
+ [](LLVMSetRAStateFields &) {
+ assert(false && ".cfi_set_ra_state does not have registers");
----------------
jroelofs wrote:
```suggestion
assert(false && ".cfi_llvm_set_ra_state does not have registers");
```
https://github.com/llvm/llvm-project/pull/205442
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits