Open Quuxplusone opened 5 years ago
Bugzilla Link | PR40969 |
Status | NEW |
Importance | P enhancement |
Reported by | Greg Bedwell (greg.bedwell@sony.com) |
Reported on | 2019-03-05 12:10:58 -0800 |
Last modified on | 2019-09-29 01:48:03 -0700 |
Version | trunk |
Hardware | PC Linux |
CC | cmtice@google.com, echristo@gmail.com, htmldeveloper@gmail.com, jdevlieghere@apple.com, keith.walker@arm.com, llvm-bugs@lists.llvm.org, llvm-dev@redking.me.uk, paul_robinson@playstation.sony.com, praveenvelliengiri@gmail.com, vsk@apple.com, yechunliangcn@163.com |
Fixed by commit(s) | |
Attachments | |
Blocks | PR37728 |
Blocked by | |
See also |
I have tested in linux,
with -g enabled:
0000000000000000 <_Z5bravoDv4_f>:
0: 0f 29 44 24 d8 movaps %xmm0,-0x28(%rsp)
5: c6 44 24 d8 00 movb $0x0,-0x28(%rsp)
a: 0f 28 44 24 d8 movaps -0x28(%rsp),%xmm0
f: 0f 29 44 24 e8 movaps %xmm0,-0x18(%rsp)
14: c3 retq
with -g not enabled:
0000000000000000 <_Z5bravoDv4_f>:
0: 0f 29 44 24 d8 movaps %xmm0,-0x28(%rsp)
5: c6 44 24 d8 00 movb $0x0,-0x28(%rsp)
a: 8a 44 24 d8 mov -0x28(%rsp),%al
e: 88 44 24 e8 mov %al,-0x18(%rsp)
12: 48 8b 44 24 d9 mov -0x27(%rsp),%rax
17: 48 89 44 24 e9 mov %rax,-0x17(%rsp)
1c: 8b 44 24 e1 mov -0x1f(%rsp),%eax
20: 89 44 24 f1 mov %eax,-0xf(%rsp)
24: 0f b7 44 24 e5 movzwl -0x1b(%rsp),%eax
29: 66 89 44 24 f5 mov %ax,-0xb(%rsp)
2e: 8a 44 24 e7 mov -0x19(%rsp),%al
32: 88 44 24 f7 mov %al,-0x9(%rsp)
36: c3 retq
Candidate patch: https://reviews.llvm.org/D61680
Was this fixed by https://reviews.llvm.org/D61680?
I could not reproduce this issue by clang version 10.0.0
(https://github.com/llvm/llvm-project.git
9ebed3104629f30f12a1f3e391c767397a89d6a5)