Skip to content

Commit 1da22cd

Browse files
committed
Leave some FIXME comments
1 parent a34be73 commit 1da22cd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

llvm/test/Transforms/MemCpyOpt/memcpy-memcpy-offset.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ define void @forward_offset_align_2(ptr %src, ptr %dest) {
5858
}
5959

6060
; If the copy destination can be used as the copy source, we don't need to create a GEP instruction.
61+
; FIXME: We can directly remove memcpy here.
6162
define void @forward_offset_without_gep(ptr %src) {
6263
; CHECK-LABEL: define void @forward_offset_without_gep(
6364
; CHECK-SAME: ptr [[SRC:%.*]]) {

llvm/test/Transforms/PhaseOrdering/memcpy-offset.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
%buf = type [7 x i8]
66

7+
; FIXME: This can be done independently in memcpyopt.
78
; Check that we eliminate all `memcpy` calls in this function.
89
define void @forward_offset_and_store(ptr %dep_src) {
910
; CUSTOM-LABEL: define void @forward_offset_and_store(

0 commit comments

Comments
 (0)