https://bugs.llvm.org/show_bug.cgi?id=40644
Bug ID: 40644
Summary: Miscompile of indexed floating point constant store
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
Assignee: unassignedb...@nondot.org
Reporter: jonathanchesterfi...@gmail.com
CC: llvm-bugs@lists.llvm.org
replaceStoreOfFPConstant called from DAGCombine replaces stores of floating
point constants with stores of integer constants without considering whether it
is an indexed or truncating store.
LegalizeDAG has the same oversight in OptimizeFloatStore.
A simple !isNormalStore() return would fix either, or a more comprehensive fix
would be to recreate indexed/truncating stores.
Thanks!
Jon
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs