From: David Blaikie Date: Fri, 30 Jan 2015 23:52:19 +0000 (+0000) Subject: Add PPC test for r227481, but XFAIL because this is actually more work than it appear... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=abac0e859134df5dbdf26e73fd0deb5fa002a18d;p=oota-llvm.git Add PPC test for r227481, but XFAIL because this is actually more work than it appeared to be. Same sort of bug as on ARM where the cmp+branch are lowered to br_cc (choosing the branch's debugloc for the br_cc's debugloc) then expanded out to a cmp and a br, but both using the debug loc of the br_cc, thus losing fidelity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227645 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/DebugInfo/PowerPC/line.test b/test/DebugInfo/PowerPC/line.test new file mode 100644 index 00000000000..c1970ff811b --- /dev/null +++ b/test/DebugInfo/PowerPC/line.test @@ -0,0 +1,7 @@ +; RUN: llc -mtriple=powerpc-unknown-linux -O0 -filetype=asm < %S/../Inputs/line.ll | FileCheck %S/../Inputs/line.ll + +; This is more complex than it looked. It's mixed up somewhere in SelectionDAG +; (legalized as br_cc, losing the separation between the comparison and the +; branch, then further lowered to cmplwi + brcc but without the fidelity that +; those two instructions are on separate lines) +; XFAIL: *