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)
commit132a34981fb6f911de2607b3d87d90cdd2faae29
treeec0de258bba7d3f898a03842a8eafbe0ba025688
parent8fae2845b1aa7c9e83796dfb656f9a74bf846205
Teach the verifier to enforce that the alignment argument of memory intrinsics must be a power of 2.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230941 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Verifier.cpp
test/Verifier/memcpy.ll [new file with mode: 0644]