[LLVMdev] Disabling Branch Folding in IfConversion (original) (raw)
Ronaldo Ferreira ronaldorferreira at gmail.com
Thu Oct 23 07:42:58 PDT 2014
- Previous message: [LLVMdev] [cfe-dev] Target specific info available to Clang (and others)
- Next message: [LLVMdev] compiler-rt with MSVC 2013
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I tried to disable the branch folding called from IfConversion, which is guarded by the command line flag IfCvtBranchFold defined in the IfConversion.cpp file. However, there are two calls to the BranchFolder::OptimizeFunction in the IfConversion pass, which one of them is not guarded by IfCvtBranchFold. I created a new command line flag guarding the two calls to OptimizeFunction just to check, and with the new flag the Branch Folding is not invoked.
Is this a bug? Shouldn't the two calls to OptimizeFunction be guarded by IfCvtBranchFold? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141023/6a0005e5/attachment.html>
- Previous message: [LLVMdev] [cfe-dev] Target specific info available to Clang (and others)
- Next message: [LLVMdev] compiler-rt with MSVC 2013
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]