Skip to content

Commit

Permalink
Enable IR polisher for RV
Browse files Browse the repository at this point in the history
  • Loading branch information
Arsene Perard-Gayot committed Nov 22, 2017
1 parent 7701f51 commit e015cee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/thorin/be/llvm/vectorize.cpp
Expand Up @@ -132,6 +132,7 @@ void CodeGen::emit_vectorize(u32 vector_length, u32 alignment, llvm::Function* k
config.useAVX = false; // workaround for intrinsic ISA-precedence bug
config.useAVX2 = true;
config.useSLEEF = true;
config.enableIRPolish = true;
const bool impreciseFunctions = true;

rv::addSleefMappings(config, platform_info, impreciseFunctions);
Expand Down

0 comments on commit e015cee

Please sign in to comment.