summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-11-21 06:20:26 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-11-21 06:20:26 +0000
commit1f4062f194851cb3b12742661396ac5924801fc5 (patch)
tree189dd81e88457884541f319f3d357a7d3d448fcb /llvm/lib/CodeGen
parent775d9c149d747b1546d698f8f0d928f1d437efae (diff)
downloadbcm5719-llvm-1f4062f194851cb3b12742661396ac5924801fc5.tar.gz
bcm5719-llvm-1f4062f194851cb3b12742661396ac5924801fc5.zip
Allow target to disable if-converting predicable instructions. e.g. NEON instructions under ARM mode.
llvm-svn: 89541
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/IfConversion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp
index 45f08b168a4..c23d7070a34 100644
--- a/llvm/lib/CodeGen/IfConversion.cpp
+++ b/llvm/lib/CodeGen/IfConversion.cpp
@@ -608,7 +608,7 @@ void IfConverter::ScanInstructions(BBInfo &BBI) {
if (TII->DefinesPredicate(I, PredDefs))
BBI.ClobbersPred = true;
- if (!TID.isPredicable()) {
+ if (!TII->isPredicable(I)) {
BBI.IsUnpredicable = true;
return;
}
OpenPOWER on IntegriCloud