aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2023-07-09 10:32:11 +0100
committerDavid Green <david.green@arm.com>2023-07-09 10:32:11 +0100
commit758c4640c95cbfec78fda4132aa5335dd54b1813 (patch)
tree4a01df9598cea431b044d6c3edc288c865e3a9aa /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent6d4a3e917c1e32b665e1177c92f6b90032817feb (diff)
downloadllvm-758c4640c95cbfec78fda4132aa5335dd54b1813.zip
llvm-758c4640c95cbfec78fda4132aa5335dd54b1813.tar.gz
llvm-758c4640c95cbfec78fda4132aa5335dd54b1813.tar.bz2
[CGP] Enable CodeGenPrepares phi type convertion.
This is a recommit of 67121d7, enabling the CodeGenPrepare OptimizePhiTypes option that can help with the type of phi instructions into ISel.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGenPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index 45e6eea..4d1754b 100644
--- a/llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -257,7 +257,7 @@ static cl::opt<bool>
"CodeGenPrepare."));
static cl::opt<bool>
- OptimizePhiTypes("cgp-optimize-phi-types", cl::Hidden, cl::init(false),
+ OptimizePhiTypes("cgp-optimize-phi-types", cl::Hidden, cl::init(true),
cl::desc("Enable converting phi types in CodeGenPrepare"));
static cl::opt<unsigned>