[all-commits] [llvm/llvm-project] bec4a8: [X86] Update MachineLoopInfo in CMOV conversion.
Tianqing Wang via All-commits
all-commits at lists.llvm.org
Tue Jul 20 19:54:12 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bec4a8157d673285280b86143738b30489a5f2e7
https://github.com/llvm/llvm-project/commit/bec4a8157d673285280b86143738b30489a5f2e7
Author: Tianqing Wang <tianqing.wang at intel.com>
Date: 2021-07-21 (Wed, 21 Jul 2021)
Changed paths:
M llvm/lib/Target/X86/X86CmovConversion.cpp
M llvm/test/CodeGen/X86/x86-cmov-converter.ll
Log Message:
-----------
[X86] Update MachineLoopInfo in CMOV conversion.
If a CMOV is in a loop and is converted to branches, CMOV conversion wouldn't
add newly created basic blocks to loop info. Since the candidates is collected
based on loops, instructions in these basic blocks will be ignored.
Reviewed By: pengfei
Differential Revision: https://reviews.llvm.org/D104623
More information about the All-commits
mailing list