diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2010-04-01 18:19:11 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2010-04-01 18:19:11 +0000 |
| commit | 4c014c892a36ac9a8423573b132408009d0738ae (patch) | |
| tree | 0166b9ce9389e54216c494b80492b944a3ea890f /llvm/lib/Target/PowerPC/PPCISelLowering.h | |
| parent | 1a55ef0427f242827f37e80c5c48baba756ba46d (diff) | |
| download | bcm5719-llvm-4c014c892a36ac9a8423573b132408009d0738ae.tar.gz bcm5719-llvm-4c014c892a36ac9a8423573b132408009d0738ae.zip | |
- Avoid using floating point stores to implement memset unless the value is zero.
- Do not try to infer GV alignment unless its type is sized. It's not possible to infer alignment if it has opaque type.
llvm-svn: 100118
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.h')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.h b/llvm/lib/Target/PowerPC/PPCISelLowering.h index 2d5daefb333..bb2d84ece54 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.h +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.h @@ -349,7 +349,7 @@ namespace llvm { virtual EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, - SelectionDAG &DAG) const; + bool SafeToUseFP, SelectionDAG &DAG) const; /// getFunctionAlignment - Return the Log2 alignment of this function. virtual unsigned getFunctionAlignment(const Function *F) const; |

