[all-commits] [llvm/llvm-project] e38fc1: [X86] Introduce x86-cmov-converter-force-all
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Thu Feb 24 10:47:44 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e38fc14c43b00f0606ad31a6df9dad1c54413afc
https://github.com/llvm/llvm-project/commit/e38fc14c43b00f0606ad31a6df9dad1c54413afc
Author: Amir Ayupov <aaupov at fb.com>
Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths:
M llvm/lib/Target/X86/X86CmovConversion.cpp
M llvm/test/CodeGen/X86/x86-cmov-converter.ll
Log Message:
-----------
[X86] Introduce x86-cmov-converter-force-all
Introduce an option to expand all CMOV groups into hammocks, matching GCC's
`-fno-if-conversion2` flag. The motivation is to leave CMOV conversion
opportunities to a binary optimizer that can make the decision based on branch
misprediction rate (available e.g. in Intel's LBR).
Reviewed By: MaskRay, skan
Differential Revision: https://reviews.llvm.org/D119777
More information about the All-commits
mailing list