[PATCH] D45672: [llvm-exegesis] InMemoryAssembler: handle return-less targets (e.g. arm).
Guillaume Chatelet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 15 09:12:45 PDT 2018
gchatelet requested changes to this revision.
gchatelet added inline comments.
This revision now requires changes to proceed.
================
Comment at: unittests/tools/llvm-exegesis/ARM/InMemoryAssemblerTest.cpp:70
+ std::move(Context),
+ {MCInstBuilder(llvm::ARM::ADDrr).addReg(llvm::ARM::R0).addReg(llvm::ARM::R0).addReg(llvm::ARM::R0).addImm(llvm::ARMCC::AL).addReg(0).addReg(0)});
+ ASSERT_THAT(Function.getFunctionBytes().str(), ElementsAre(0x00, 0x00, 0x80, 0xe0, 0x1e, 0xff, 0x2f, 0xe1));
----------------
Can you format this better?
Repository:
rL LLVM
https://reviews.llvm.org/D45672
More information about the llvm-commits
mailing list