mirror of
https://github.com/lifting-bits/remill
synced 2026-06-21 13:56:07 +00:00
Improved flags analysis. Move the undefined optimization out into the plugin. Still have an issue where dead-store elimination is not happening :-(
This commit is contained in:
@@ -30,7 +30,7 @@ $DIR/third_party/bin/opt -O3 -o=$BIN.opt0.bc $1 || {
|
||||
}
|
||||
|
||||
$DIR/third_party/bin/opt \
|
||||
-load $DIR/build/libOptimize.$DYLIB_SUFFIX -deferred_inliner \
|
||||
-load $DIR/build/libOptimize.$DYLIB_SUFFIX -intrinsic_optimizer \
|
||||
-o=$BIN.opt1.bc $BIN.opt0.bc || {
|
||||
printf "${RED}Could not optimize $BIN.opt0.bc${RESET}\n" > /dev/stderr
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user