[PATCH] D53536: Pointer types were treated as zero-size by MergeICmps
Clement Courbet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 26 00:37:12 PDT 2018
courbet accepted this revision.
courbet added a comment.
This revision is now accepted and ready to land.
Thanks !
================
Comment at: test/Transforms/MergeICmps/X86/int64-and-ptr.ll:2
+; RUN: opt < %s -mtriple=x86_64-unknown-unknown -mergeicmps -S | FileCheck %s --check-prefix=X86
+; X86: memcmp(i8* {{.*}}, i8* {{.*}}, i64 16)
+;
----------------
move this after the comment ?
```
; 8-byte int and 8-byte pointer should merge into a 16-byte memcpy.
; X86: memcmp(i8* {{.*}}, i8* {{.*}}, i64 16)
```
Repository:
rL LLVM
https://reviews.llvm.org/D53536
More information about the llvm-commits
mailing list