projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad2e252
)
Hexagon: Expand br_cc.
author
Jyotsna Verma
<jverma@codeaurora.org>
Thu, 4 Apr 2013 21:18:26 +0000
(21:18 +0000)
committer
Jyotsna Verma
<jverma@codeaurora.org>
Thu, 4 Apr 2013 21:18:26 +0000
(21:18 +0000)
It fixes following tests for Hexagon:
CodeGen/Generic/2003-07-29-BadConstSbyte.ll
CodeGen/Generic/2005-10-21-longlonggtu.ll
CodeGen/Generic/2009-04-28-i128-cmp-crash.ll
CodeGen/Generic/MachineBranchProb.ll
CodeGen/Generic/builtin-expect.ll
CodeGen/Generic/pr12507.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178794
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Hexagon/HexagonISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Hexagon/HexagonISelLowering.cpp
b/lib/Target/Hexagon/HexagonISelLowering.cpp
index 0a8b1af21b93fcfd75675456ca9c75797a324051..15858a9368ae0f2f2eaacca3e5c90c0c2dc3f04e 100644
(file)
--- a/
lib/Target/Hexagon/HexagonISelLowering.cpp
+++ b/
lib/Target/Hexagon/HexagonISelLowering.cpp
@@
-1370,10
+1370,12
@@
HexagonTargetLowering::HexagonTargetLowering(HexagonTargetMachine
// Increase jump tables cutover to 5, was 4.
setMinimumJumpTableEntries(5);
+ setOperationAction(ISD::BR_CC, MVT::Other, Expand);
setOperationAction(ISD::BR_CC, MVT::f32, Expand);
setOperationAction(ISD::BR_CC, MVT::f64, Expand);
setOperationAction(ISD::BR_CC, MVT::i1, Expand);
setOperationAction(ISD::BR_CC, MVT::i32, Expand);
+ setOperationAction(ISD::BR_CC, MVT::i64, Expand);
setOperationAction(ISD::MEMBARRIER, MVT::Other, Custom);
setOperationAction(ISD::ATOMIC_FENCE, MVT::Other, Custom);