[LLVMbugs] [Bug 21931] New: inline-asm-fpstack.ll fails -verify-machineinstrs
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Dec 16 12:21:25 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21931
Bug ID: 21931
Summary: inline-asm-fpstack.ll fails -verify-machineinstrs
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: jfb at google.com
CC: jfb at google.com, llvmbugs at cs.uiuc.edu,
t.p.northover at gmail.com
Classification: Unclassified
Produces the following output:
llc ./llvm/test/CodeGen/X86/inline-asm-fpstack.ll -verify-machineinstrs
-mcpu=generic -mtriple=i386-apple-darwin -no-integrated-as
.section __TEXT,__text,regular,pure_instructions
.globl _test1
.align 4, 0x90
_test1: ## @test1
.cfi_startproc
## BB#0:
## InlineAsm Start
fld0
## InlineAsm End
retl
.cfi_endproc
.globl _test2
.align 4, 0x90
_test2: ## @test2
.cfi_startproc
## BB#0:
## InlineAsm Start
fld0
## InlineAsm End
retl
.cfi_endproc
# After Greedy Register Allocator
# Machine code for function test3: Post SSA
Frame Objects:
fi#-1: size=10, align=16, fixed, at location [SP+4]
0B BB#0: derived from LLVM BB %0
16B %vreg0<def> = LD_Fp80m <fi#-1>, 1, %noreg, 0, %noreg,
%FPSW<imp-def,dead>; mem:LD10[FixedStack-1](align=16) RFP80:%vreg0
32B %FP0<def> = COPY %vreg0; RFP80:%vreg0
48B INLINEASM <es:frob > [sideeffect] [attdialect], $0:[reguse], %FP0,
$1:[clobber], %FP0<earlyclobber,imp-def,dead>, $2:[clobber],
%EFLAGS<earlyclobber,imp-def,dead>
64B RETL
# End machine code for function test3.
*** Bad machine code: No live segment at use ***
- function: test3
- basic block: BB#0 (0x43ee2e0) [0B;80B)
- instruction: 48B INLINEASM <es:frob > [sideeffect] [attdialect],
$0:[reguse], %FP0, $1:[clobber], %FP0<earlyclobber,imp-def,dead>, $2:[clobber],
%EFLAGS<earlyclobber,imp-def,dead>
- operand 3: %FP0
48B is not live in FP0 [32r,32d:1)[48e,48d:0) 0 at 48e 1 at 32r
LLVM ERROR: Found 1 machine code errors.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141216/5b1cae9b/attachment.html>
More information about the llvm-bugs
mailing list