[Testing] Add some cpu backend tests

This commit is contained in:
Herman S.
2026-03-17 13:16:59 +09:00
parent 9fbcdae5dc
commit f32d52900e
4 changed files with 349 additions and 5 deletions

View File

@@ -26,7 +26,8 @@ class TestModule : public Module {
public:
TestModule(Processor* processor, const std::string_view name,
std::function<bool(uint32_t)> contains_address,
std::function<bool(hir::HIRBuilder&)> generate);
std::function<bool(hir::HIRBuilder&)> generate,
bool skip_cf_simplification = false);
~TestModule() override;
const std::string& name() const override { return name_; }