diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-08-08 20:42:17 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-08-08 20:42:17 +0000 |
commit | 4b9e0c7cc6946cfab67e08d3f484da8a4fecff17 (patch) | |
tree | 1f468661064098a70cb0f083a6633d03a8a73bc0 /test/CodeGen | |
parent | e5aaeded3c4df11b98a363dc8843a925d69f67fc (diff) | |
download | external_llvm-4b9e0c7cc6946cfab67e08d3f484da8a4fecff17.zip external_llvm-4b9e0c7cc6946cfab67e08d3f484da8a4fecff17.tar.gz external_llvm-4b9e0c7cc6946cfab67e08d3f484da8a4fecff17.tar.bz2 |
Don't build illegal ops in DAGCombiner::SimplifyBinOpWithSameOpcodeHands().
Blackfin supports and/or/xor on i32 but not on i16. Teach
DAGCombiner::SimplifyBinOpWithSameOpcodeHands to not produce illegal nodes
after legalize ops.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/Blackfin/promote-logic.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Blackfin/promote-logic.ll b/test/CodeGen/Blackfin/promote-logic.ll index ba2caef..d2771d1 100644 --- a/test/CodeGen/Blackfin/promote-logic.ll +++ b/test/CodeGen/Blackfin/promote-logic.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as < %s | llc -march=bfin > %t -; XFAIL: * -; DAG combiner can produce an illegal i16 OR operation after LegalizeOps. +; DAGCombiner::SimplifyBinOpWithSameOpcodeHands can produce an illegal i16 OR +; operation after LegalizeOps. define void @mng_display_bgr565() { entry: |