The Imm union variant wasn't initialized anywhere. This fixes what is printed by llvm-mc -arch m68k --show-inst-operands.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for spotting this issue. Could you add a (regression) test? Normally people just used the code that triggered the issue.
llvm/lib/Target/M68k/AsmParser/M68kAsmParser.cpp | ||
---|---|---|
1070–1071 | curly braces are required for this case since there is a variable declaration within. |
curly braces are required for this case since there is a variable declaration within.