llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.2k stars 11.64k forks source link

Clang fails to optimize in-sequence extract operations #11583

Open llvmbot opened 12 years ago

llvmbot commented 12 years ago
Bugzilla Link 11211
Version trunk
OS Linux
Attachments C and disasm, int16_t -> float conversion test case.
Reporter LLVM Bugzilla Contributor

Extended Description

Implementing a trivial float to int16_t conversion routine, Clang is unable to optimize 8 subsequent extract/store operations into one single unaligned store.

Code and x86_64 disasm in attachment.

llvmbot commented 12 years ago

Added similar bug. This one for int16_t -> float conversion.