[llvm-bugs] [Bug 39451] New: X86 speculative load hardening: Bad machine code: Virtual register killed in block, but needed live out.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 26 08:41:37 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39451

            Bug ID: 39451
           Summary: X86 speculative load hardening: Bad machine code:
                    Virtual register killed in block, but needed live out.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: francisvm at yahoo.com
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org

*** Bad machine code: Virtual register killed in block, but needed live out.
***
- function:    test_switch_jumptable
- basic block: %bb.6 entry (0x7ffb3a821f90)
Virtual register %27 is used after the block.

*** Bad machine code: Virtual register defs don't dominate all uses. ***
- function:    test_switch_jumptable
- v. register: %27
LLVM ERROR: Found 2 machine code errors.

build/bin/llc -verify-machineinstrs <
test/CodeGen/X86/speculative-load-hardening-indirect.ll
-mtriple=x86_64-unknown-linux-gnu -x86-speculative-load-hardening
-relocation-model pic -data-sections

-- 
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/20181026/0dae2f4d/attachment.html>


More information about the llvm-bugs mailing list