[llvm-bugs] [Bug 51623] New: [FastISel] Regression causing miscompile on inline asm
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 25 08:00:46 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51623
Bug ID: 51623
Summary: [FastISel] Regression causing miscompile on inline asm
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: cameron.mcinally at nyu.edu
CC: chad.rosier at gmail.com, htmldeveloper at gmail.com,
llvm-bugs at lists.llvm.org, paul.robinson at am.sony.com,
paul_robinson at playstation.sony.com
Created attachment 25193
--> https://bugs.llvm.org/attachment.cgi?id=25193&action=edit
Reduced test case
The attached test case appears to miscompile after this commit:
> commit c161775decddcc86fbbfefd7485a5d0ef5842aec
> Author: Paul Robinson <Paul.Robinson at sony.com>
> Date: Mon Jan 11 08:32:36 2021 -0800
>
> [FastISel] Flush local value map on every instruction
This was introduced in the 12.x timeframe, but still occurs in main.
To reproduce:
llc -O0 test.ll
The expected assembly is:
#APP
movl %eax, %eax
addl %ecx, %eax
#NO_APP
The current miscompile shows:
#APP
movl %eax, %ecx
addl %ecx, %ecx
#NO_APP
--
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/20210825/98c67b47/attachment.html>
More information about the llvm-bugs
mailing list