Teach the verifier to enforce that the alignment argument of memory intrinsics must...
authorOwen Anderson <resistor@mac.com>
Mon, 2 Mar 2015 09:35:06 +0000 (09:35 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 2 Mar 2015 09:35:06 +0000 (09:35 +0000)
commit63fbf10c32014cd88eb495d2eed49592972adbe6
tree38b90dedb9529f4607a22751caa9e0358ab653b8
parent5af4b21c2e5ecc84a509cf54bd65a5b7ceccbe8e
Teach the verifier to enforce that the alignment argument of memory intrinsics must be a power of 2.

llvm-svn: 230941
llvm/lib/IR/Verifier.cpp
llvm/test/Verifier/memcpy.ll [new file with mode: 0644]