[PATCH] D27589: [DebugInfo] Relax test case for long double constants.
David Gross via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 8 13:25:40 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL289103: [DebugInfo] Relax test case for long double constants. (authored by dgross).
Changed prior to commit:
https://reviews.llvm.org/D27589?vs=80815&id=80817#toc
Repository:
rL LLVM
https://reviews.llvm.org/D27589
Files:
cfe/trunk/test/CodeGen/debug-info-static-const-fp.c
Index: cfe/trunk/test/CodeGen/debug-info-static-const-fp.c
===================================================================
--- cfe/trunk/test/CodeGen/debug-info-static-const-fp.c
+++ cfe/trunk/test/CodeGen/debug-info-static-const-fp.c
@@ -24,4 +24,8 @@
// CHECK: !DIGlobalVariable(name: "dVal", {{.*}}, isLocal: true, isDefinition: true, expr: ![[DEXPR:[0-9]+]]
// CHECK: ![[DEXPR]] = !DIExpression(DW_OP_constu, 4658387303597904457, DW_OP_stack_value)
-// CHECK: !DIGlobalVariable(name: "ldVal", {{.*}}, isLocal: true, isDefinition: true)
+// Temporarily removing this check -- for some targets (such as
+// "--target=hexagon-unknown-elf"), long double does not exceed 64
+// bits, and so we actually do get the constant value (expr) emitted.
+//
+// DO-NOT-CHECK: !DIGlobalVariable(name: "ldVal", {{.*}}, isLocal: true, isDefinition: true)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27589.80817.patch
Type: text/x-patch
Size: 850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161208/56bf2d05/attachment.bin>
More information about the cfe-commits
mailing list