[llvm] r372093 - [NFC} Updated test
David Bolvansky via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 17 02:45:52 PDT 2019
Author: xbolva00
Date: Tue Sep 17 02:45:52 2019
New Revision: 372093
URL: http://llvm.org/viewvc/llvm-project?rev=372093&view=rev
Log:
[NFC} Updated test
Modified:
llvm/trunk/test/Transforms/CodeGenPrepare/X86/memset_chk-simplify-nobuiltin.ll
Modified: llvm/trunk/test/Transforms/CodeGenPrepare/X86/memset_chk-simplify-nobuiltin.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/CodeGenPrepare/X86/memset_chk-simplify-nobuiltin.ll?rev=372093&r1=372092&r2=372093&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/CodeGenPrepare/X86/memset_chk-simplify-nobuiltin.ll (original)
+++ llvm/trunk/test/Transforms/CodeGenPrepare/X86/memset_chk-simplify-nobuiltin.ll Tue Sep 17 02:45:52 2019
@@ -1,3 +1,4 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -S -disable-simplify-libcalls -codegenprepare < %s | FileCheck %s
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
@@ -8,9 +9,11 @@ target datalayout = "e-m:o-i64:64-f80:12
; - attribute nobuiltin
; - TLI::has (always returns false thanks to -disable-simplify-libcalls)
-; CHECK-NOT: _chk
-; CHECK: call void @llvm.memset.p0i8.i64(i8* align 1 %dst, i8 0, i64 %len, i1 false)
define void @test_nobuiltin(i8* %dst, i64 %len) {
+; CHECK-LABEL: @test_nobuiltin(
+; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* [[DST:%.*]], i8 0, i64 [[LEN:%.*]], i1 false) #1
+; CHECK-NEXT: ret void
+;
call i8* @__memset_chk(i8* %dst, i32 0, i64 %len, i64 -1) nobuiltin
ret void
}
More information about the llvm-commits
mailing list