From c8f2a8d762b74fefe58447c6d11b6f5c959ae98e Mon Sep 17 00:00:00 2001 From: ranbir-sharma Date: Tue, 3 Sep 2024 01:05:13 -0700 Subject: [PATCH] Added the lib code to build the files needed for FakeQuantization --- llvm_passes/CMakeLists.txt | 1 + runtime_lib/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/llvm_passes/CMakeLists.txt b/llvm_passes/CMakeLists.txt index 77c5afcd..712bac44 100644 --- a/llvm_passes/CMakeLists.txt +++ b/llvm_passes/CMakeLists.txt @@ -25,6 +25,7 @@ add_llvm_library(llfi-passes MODULE core/ProfilingPass.cpp core/GenLLFIIndexPass.cpp core/RegLocBasedFIRegSelector.cpp + core/FakeQuantizationPass.cpp hardware_failures/FuncNameFIInstSelector.cpp hardware_failures/LLFIIndexFIInstSelector.cpp diff --git a/runtime_lib/CMakeLists.txt b/runtime_lib/CMakeLists.txt index d0aa2534..e25d049c 100644 --- a/runtime_lib/CMakeLists.txt +++ b/runtime_lib/CMakeLists.txt @@ -15,6 +15,8 @@ add_library(llfi-rt SHARED InstTraceLib.c ProfilingLib.cpp Utils.c + FakeQuantizationLib.cpp + FakeQuantizationLib.h #_FIDLSoftwareFaultInjectors.cpp #_SoftwareFaultInjector.cpp is included in this file )