Skip to content

Commit

Permalink
Disable several Select tests on RISC-V because of missing implementation
Browse files Browse the repository at this point in the history
Tests fail in the following way:

```
18:26:45  [----------] 450 tests from SelectCompareTest/Int32SelectInt8CompareTest
18:26:45  Assertion failed at /home/jenkins/workspace/Build/compiler/riscv/codegen/OMRTreeEvaluator.cpp:114: false
18:26:45  	Opcode bcmpeq is not implemented
18:26:45
18:26:45  compiling file:line:name at level: warm
18:26:45  #0: function TR_LinuxCallStackIterator::printStackBacktrace(TR::Compilation*)+0x2a [0x40017112f4]
18:26:45  #1: function TR_Debug::printStackBacktrace()+0x28 [0x40014f2f42]
18:26:45  #2: ./fvtest/compilertriltest/comptest(+0x133a28e) [0x400133a28e]
18:26:45  #3: ./fvtest/compilertriltest/comptest(+0x133a366) [0x400133a366]
18:26:45  #4: function TR::assertion(char const*, int, char const*, char const*, ...)+0xac [0x400133a416]
18:26:45  #5: function OMR::RV::TreeEvaluator::unImpOpEvaluator(TR::Node*, TR::CodeGenerator*)+0x56 [0x4001523796]
18:26:45  #6: function OMR::CodeGenerator::evaluate(TR::Node*)+0x1a2 [0x4001540254]
18:26:45  #7: function OMR::RV::TreeEvaluator::iselectEvaluator(TR::Node*, TR::CodeGenerator*)+0x6e [0x4001723a96]
18:26:45  #8: function OMR::CodeGenerator::evaluate(TR::Node*)+0x1a2 [0x4001540254]
18:26:45  #9: function genericReturnEvaluator(TR::Node*, OMR::RealRegister::RegNum, TR_RegisterKinds, TR_ReturnInfo, TR::CodeGenerator*)+0x4e [0x4001722790]
18:26:45  #10: function OMR::RV::TreeEvaluator::ireturnEvaluator(TR::Node*, TR::CodeGenerator*)+0x42 [0x40017228c6]
18:26:45  #11: function OMR::CodeGenerator::evaluate(TR::Node*)+0x1a2 [0x4001540254]
```

Signed-off-by: Filip Jeremic <fjeremic@ca.ibm.com>
  • Loading branch information
fjeremic authored and janvrany committed Feb 1, 2021
1 parent 68f2034 commit 0d07238
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fvtest/compilertriltest/SelectTest.cpp
Expand Up @@ -1352,6 +1352,7 @@ class Int32SelectInt8CompareTest : public SelectCompareTest<int8_t, int32_t> {};

TEST_P(Int32SelectInt8CompareTest, UsingLoadParam) {
SKIP_ON_ARM(MissingImplementation);
SKIP_ON_RISCV(MissingImplementation) << "Opcode bcmpeq is not implemented";
SKIP_ON_S390(KnownBug) << "The Z code generator crashes when a sub-integer compare is the first child of an integral select (#5499)";
SKIP_ON_S390X(KnownBug) << "The Z code generator crashes when a sub-integer compare is the first child of an integral select (#5499)";
SKIP_ON_X86(KnownBug) << "The x86 code generator returns wrong results when a sub-integer compare is the first child of a select (#5501)";
Expand Down Expand Up @@ -1386,6 +1387,7 @@ TEST_P(Int32SelectInt8CompareTest, UsingLoadParam) {

TEST_P(Int32SelectInt8CompareTest, UsingConstCompare) {
SKIP_ON_ARM(MissingImplementation);
SKIP_ON_RISCV(MissingImplementation) << "Opcode bcmpeq is not implemented";
SKIP_ON_S390(KnownBug) << "The Z code generator crashes when a sub-integer compare is the first child of an integral select (#5499)";
SKIP_ON_S390X(KnownBug) << "The Z code generator crashes when a sub-integer compare is the first child of an integral select (#5499)";
SKIP_ON_X86(KnownBug) << "The x86 code generator returns wrong results when a sub-integer compare is the first child of a select (#5501)";
Expand Down Expand Up @@ -1421,6 +1423,7 @@ TEST_P(Int32SelectInt8CompareTest, UsingConstCompare) {

TEST_P(Int32SelectInt8CompareTest, UsingConstValues) {
SKIP_ON_ARM(MissingImplementation);
SKIP_ON_RISCV(MissingImplementation) << "Opcode bcmpeq is not implemented";
SKIP_ON_S390(KnownBug) << "The Z code generator crashes when a sub-integer compare is the first child of an integral select (#5499)";
SKIP_ON_S390X(KnownBug) << "The Z code generator crashes when a sub-integer compare is the first child of an integral select (#5499)";
SKIP_ON_X86(KnownBug) << "The x86 code generator returns wrong results when a sub-integer compare is the first child of a select (#5501)";
Expand Down Expand Up @@ -1465,6 +1468,7 @@ class Int32SelectInt16CompareTest : public SelectCompareTest<int16_t, int32_t> {

TEST_P(Int32SelectInt16CompareTest, UsingLoadParam) {
SKIP_ON_ARM(MissingImplementation);
SKIP_ON_RISCV(MissingImplementation) << "Opcode scmpeq is not implemented";
SKIP_ON_S390(KnownBug) << "The Z code generator crashes when a sub-integer compare is the first child of an integral select (#5499)";
SKIP_ON_S390X(KnownBug) << "The Z code generator crashes when a sub-integer compare is the first child of an integral select (#5499)";
SKIP_ON_X86(KnownBug) << "The x86 code generator returns wrong results when a sub-integer compare is the first child of a select (#5501)";
Expand Down Expand Up @@ -1499,6 +1503,7 @@ TEST_P(Int32SelectInt16CompareTest, UsingLoadParam) {

TEST_P(Int32SelectInt16CompareTest, UsingConstCompare) {
SKIP_ON_ARM(MissingImplementation);
SKIP_ON_RISCV(MissingImplementation) << "Opcode scmpeq is not implemented";
SKIP_ON_S390(KnownBug) << "The Z code generator crashes when a sub-integer compare is the first child of an integral select (#5499)";
SKIP_ON_S390X(KnownBug) << "The Z code generator crashes when a sub-integer compare is the first child of an integral select (#5499)";
SKIP_ON_X86(KnownBug) << "The x86 code generator returns wrong results when a sub-integer compare is the first child of a select (#5501)";
Expand Down Expand Up @@ -1534,6 +1539,7 @@ TEST_P(Int32SelectInt16CompareTest, UsingConstCompare) {

TEST_P(Int32SelectInt16CompareTest, UsingConstValues) {
SKIP_ON_ARM(MissingImplementation);
SKIP_ON_RISCV(MissingImplementation) << "Opcode scmpeq is not implemented";
SKIP_ON_S390(KnownBug) << "The Z code generator crashes when a sub-integer compare is the first child of an integral select (#5499)";
SKIP_ON_S390X(KnownBug) << "The Z code generator crashes when a sub-integer compare is the first child of an integral select (#5499)";
SKIP_ON_X86(KnownBug) << "The x86 code generator returns wrong results when a sub-integer compare is the first child of a select (#5501)";
Expand Down

0 comments on commit 0d07238

Please sign in to comment.