If it's safe to speculatively execute load(alloca) the it's safe to execute
authorNick Lewycky <nicholas@mxc.ca>
Sun, 11 Jul 2010 20:36:29 +0000 (20:36 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 11 Jul 2010 20:36:29 +0000 (20:36 +0000)
commit8e82e3bf59a4163cd9c44d217baae62d2d2b753c
tree7bf7ac9ee306f90fb2274d77a3e8160ab7ad9c2d
parentb4a9631e556ea6bc173fa8c88cd8ef825e23e2da
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