From 7e6b35b1f14efaa250dfcf9d90aba90fda227ba4 Mon Sep 17 00:00:00 2001 From: Mark Seaborn Date: Sat, 29 Jun 2013 17:56:31 -0700 Subject: PNaCl ABI: Remove use of @llvm.memset.p0i8.i64 (64-bit intrinsic variant) Convert calls to this intrinsic to use the 32-bit variant instead. Do the same for the memcpy and memmove intrinsics too. Change the PNaCl ABI verifier to check this argument. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3530 TEST=*.ll tests + PNaCl toolchain trybots Review URL: https://codereview.chromium.org/18226003 --- tools/opt/opt.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 56ac3ec9a7..c5405de902 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -605,6 +605,7 @@ int main(int argc, char **argv) { initializeTarget(Registry); // @LOCALMOD-BEGIN initializeAddPNaClExternalDeclsPass(Registry); + initializeCanonicalizeMemIntrinsicsPass(Registry); initializeExpandArithWithOverflowPass(Registry); initializeExpandByValPass(Registry); initializeExpandConstantExprPass(Registry); -- cgit v1.2.3-18-g5258