mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 03:48:57 +00:00
Add a note about lowering llvm.memset, llvm.memcpy, and llvm.memmove to a
few stores under certain conditions. llvm-svn: 25777
This commit is contained in:
parent
73262d78b8
commit
2669d4cb81
@ -168,6 +168,13 @@ Combine: a = sin(x), b = cos(x) into a,b = sincos(x).
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
For all targets, not just X86:
|
||||
When llvm.memcpy, llvm.memset, or llvm.memmove are lowered, they should be
|
||||
optimized to a few store instructions if the source is constant and the length
|
||||
is smallish (< 8). This will greatly help some tests like Shootout/strcat.c
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
Solve this DAG isel folding deficiency:
|
||||
|
||||
int X, Y;
|
||||
|
Loading…
x
Reference in New Issue
Block a user