[llvm] r374124 - [IA] Add tests for a few other edge cases
Bill Wendling via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 15:06:09 PDT 2019
Author: void
Date: Tue Oct 8 15:06:09 2019
New Revision: 374124
URL: http://llvm.org/viewvc/llvm-project?rev=374124&view=rev
Log:
[IA] Add tests for a few other edge cases
Test with the last eight bits within the range [7F, FF] and with
lower-case hex letters.
Modified:
llvm/trunk/test/MC/AsmParser/directive_ascii.s
Modified: llvm/trunk/test/MC/AsmParser/directive_ascii.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/directive_ascii.s?rev=374124&r1=374123&r2=374124&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/directive_ascii.s (original)
+++ llvm/trunk/test/MC/AsmParser/directive_ascii.s Tue Oct 8 15:06:09 2019
@@ -42,5 +42,9 @@ TEST6:
# CHECK: TEST7:
# CHECK: .ascii "dk"
+# 0xFACE & 0xFF == 0xCE == 0o316
+# 0x0FE & 0xFF == 0xFE == 0o376
+# CHECK: .ascii "\316\376"
TEST7:
.ascii "\x64\Xa6B"
+ .ascii "\xface\x0Fe"
More information about the llvm-commits
mailing list