[llvm] [HWASAN] Use sign extension in memToShadow() and untagPointer() (PR #103727)
Samuel Holland via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 11:44:42 PDT 2024
================
@@ -658,7 +658,7 @@ void RISCVAsmPrinter::EmitHwasanMemaccessSymbols(Module &M) {
OutStreamer->emitInstruction(
MCInstBuilder(RISCV::SLLI).addReg(RISCV::X6).addReg(Reg).addImm(8),
MCSTI);
- OutStreamer->emitInstruction(MCInstBuilder(RISCV::SRLI)
----------------
SiFiveHolland wrote:
Yes, I'll split this out
https://github.com/llvm/llvm-project/pull/103727
More information about the llvm-commits
mailing list