[RISCV][NFC] Use addExpr() instead of createExpr()
authorwangpc <pc.wang@linux.alibaba.com>
Thu, 14 Apr 2022 02:47:08 +0000 (10:47 +0800)
committerwangpc <pc.wang@linux.alibaba.com>
Thu, 14 Apr 2022 02:48:25 +0000 (10:48 +0800)
commitd0828c5af9cedf13e41b92a94a8e4e0417a8cd27
tree3797171d789b4adbd96fc2b61c7c286632d25b28
parentffd656a2fe5da8c3ad50fe353bcadeae009f0eb4
[RISCV][NFC] Use addExpr() instead of createExpr()

It seems to be neater.

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D123675
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp