If it's safe to speculatively execute load(alloca) the it's safe to execute
commitaddba5057b9707c9545fa1c24837719f8b3abe00
authorNick Lewycky <nicholas@mxc.ca>
Sun, 11 Jul 2010 20:36:29 +0000 (11 20:36 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 11 Jul 2010 20:36:29 +0000 (11 20:36 +0000)
tree7bf7ac9ee306f90fb2274d77a3e8160ab7ad9c2d
parent5f03926c74f49849bf330cdfc7b9d8ea86fe3f4d
If it's safe to speculatively execute load(alloca) the it's safe to execute
load(gep(alloca)) where the gep is all-zeros. There's more we could do here but
this is a common case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108101 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Instruction.cpp