[PATCH] D148302: [M68k] Fix printing of immediate in `M68kOperand::print`
Min-Yih Hsu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 15 14:19:14 PDT 2023
myhsu added a comment.
Thanks for spotting this issue. Could you add a (regression) test? Normally people just used the code that triggered the issue.
================
Comment at: llvm/lib/Target/M68k/AsmParser/M68kAsmParser.cpp:1071
case KindTy::Imm:
+ int64_t Value;
----------------
curly braces are required for this `case` since there is a variable declaration within.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148302/new/
https://reviews.llvm.org/D148302
More information about the llvm-commits
mailing list