FailedChanges

Summary

  1. [InstCombine] consolidate more DeMorgan tests; NFC
  2. Fix test for altmacro
  3. [powerpc] deactivate flakey tests on powerpc64le These test cases occassionally fail when run on powerpc64le: ignore_lib1.cc ignore_lib5.cc TestCases/Posix/current_allocated_bytes.cc rtl/TsanRtlTest/Posix.ThreadLocalAccesses TestCases/Posix/coverage-fork-direct.cc The failures cause false problem reports to be sent to developers whose code had nothing to do with the failures. Reactivate them when the real problems are fixed. This could also be related to the same problems as with the tests ThreadedOneSizeMallocStressTest, ThreadedMallocStressTest, ManyThreadsTest, and several others that do not run reliably on powerpc.
  4. [LLVM][inline-asm] Altmacro absolute expression '%' feature In this patch, I introduce a new alt macro feature. This feature adds meaning for the % when using it as a prefix to the calling macro arguments. In the altmacro mode, the percent sign '%' before an absolute expression convert the expression first to a string. As described in the https://sourceware.org/binutils/docs-2.27/as/Altmacro.html "Expression results as strings You can write `%expr' to evaluate the expression expr and use the result as a string." expression assumptions: 1. '%' can only evaluate an absolute expression. 2. Altmacro '%' must be the first character of the evaluated expression. 3. If no '%' is located before the expression, a regular module operation is expected. 4. The result of Absolute Expressions can be only integer. Differential Revision: https://reviews.llvm.org/D32526
Revision 301800 by spatel:
[InstCombine] consolidate more DeMorgan tests; NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Transforms/InstCombine/and.ll (diff)llvm-revision.src/llvm/trunk/test/Transforms/InstCombine/and.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/apint-and1.ll (diff)llvm-revision.src/llvm/trunk/test/Transforms/InstCombine/apint-and1.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/apint-and2.ll (diff)llvm-revision.src/llvm/trunk/test/Transforms/InstCombine/apint-and2.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/demorgan.ll (diff)llvm-revision.src/llvm/trunk/test/Transforms/InstCombine/demorgan.ll
Revision 301799 by mzuckerm:
Fix test for altmacro
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/MC/AsmParser/altmacro_expression.s (diff)llvm-revision.src/llvm/trunk/test/MC/AsmParser/altmacro_expression.s
The file was modified/llvm/trunk/test/MC/AsmParser/negativ_altmacro_expression.s (diff)llvm-revision.src/llvm/trunk/test/MC/AsmParser/negativ_altmacro_expression.s
Revision 301798 by seurer:
[powerpc] deactivate flakey tests on powerpc64le

These test cases occassionally fail when run on powerpc64le:

ignore_lib1.cc
ignore_lib5.cc
TestCases/Posix/current_allocated_bytes.cc
rtl/TsanRtlTest/Posix.ThreadLocalAccesses
TestCases/Posix/coverage-fork-direct.cc

The failures cause false problem reports to be sent to developers whose
code had nothing to do with the failures.  Reactivate them when the real
problems are fixed.

This could also be related to the same problems as with the tests
ThreadedOneSizeMallocStressTest, ThreadedMallocStressTest, ManyThreadsTest,
and several others that do not run reliably on powerpc.
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/tsan/tests/rtl/tsan_posix.cc (diff)llvm-revision.src/compiler-rt/trunk/lib/tsan/tests/rtl/tsan_posix.cc
The file was modified/compiler-rt/trunk/test/asan/TestCases/Posix/coverage-fork-direct.cc (diff)llvm-revision.src/compiler-rt/trunk/test/asan/TestCases/Posix/coverage-fork-direct.cc
The file was modified/compiler-rt/trunk/test/asan/TestCases/Posix/current_allocated_bytes.cc (diff)llvm-revision.src/compiler-rt/trunk/test/asan/TestCases/Posix/current_allocated_bytes.cc
The file was modified/compiler-rt/trunk/test/tsan/ignore_lib1.cc (diff)llvm-revision.src/compiler-rt/trunk/test/tsan/ignore_lib1.cc
The file was modified/compiler-rt/trunk/test/tsan/ignore_lib5.cc (diff)llvm-revision.src/compiler-rt/trunk/test/tsan/ignore_lib5.cc
Revision 301797 by mzuckerm:
[LLVM][inline-asm] Altmacro absolute expression '%' feature

In this patch, I introduce a new alt macro feature.
This feature adds meaning for the % when using it as a prefix to the calling macro arguments.

In the altmacro mode, the percent sign '%' before an absolute expression convert the expression first to a string.
As described in the https://sourceware.org/binutils/docs-2.27/as/Altmacro.html
"Expression results as strings
You can write `%expr' to evaluate the expression expr and use the result as a string."

expression assumptions:

1. '%' can only evaluate an absolute expression.
2. Altmacro '%' must be the first character of the evaluated expression.
3. If no '%' is located before the expression, a regular module operation is expected.
4. The result of Absolute Expressions can be only integer.

Differential Revision: https://reviews.llvm.org/D32526
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/MC/MCParser/MCAsmLexer.h (diff)llvm-revision.src/llvm/trunk/include/llvm/MC/MCParser/MCAsmLexer.h
The file was modified/llvm/trunk/lib/MC/MCParser/AsmParser.cpp (diff)llvm-revision.src/llvm/trunk/lib/MC/MCParser/AsmParser.cpp
The file was modified/llvm/trunk/lib/MC/MCParser/MCAsmLexer.cpp (diff)llvm-revision.src/llvm/trunk/lib/MC/MCParser/MCAsmLexer.cpp
The file was added/llvm/trunk/test/MC/AsmParser/altmacro_expression.sllvm-revision.src/llvm/trunk/test/MC/AsmParser/altmacro_expression.s
The file was added/llvm/trunk/test/MC/AsmParser/negativ_altmacro_expression.sllvm-revision.src/llvm/trunk/test/MC/AsmParser/negativ_altmacro_expression.s