]> granicus.if.org Git - llvm/commit
Verifier: Make sure masked load/store alignment is a power of 2
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 13 Mar 2019 19:46:34 +0000 (19:46 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 13 Mar 2019 19:46:34 +0000 (19:46 +0000)
commit39c8bbd622650d280546377cd5a9283f215925f2
treeb377e7a67b8c492a758ac5425f6f2a657449963e
parent892b8f0cdb48467f6dc370b3940f211aa8d03a20
Verifier: Make sure masked load/store alignment is a power of 2

The same should also be done for scatter/gather, but the verifier
doesn't check those at all now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356094 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Verifier.cpp
test/Assembler/auto_upgrade_intrinsics.ll
test/Transforms/InstCombine/masked_intrinsics.ll
test/Verifier/masked-load.ll [new file with mode: 0644]
test/Verifier/masked-store.ll [new file with mode: 0644]