Extending the RISC-V LLVM backend to Support Fault-tolerant Computing