diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-07-11 20:36:29 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-07-11 20:36:29 +0000 |
commit | 8e82e3bf59a4163cd9c44d217baae62d2d2b753c (patch) | |
tree | 7bf7ac9ee306f90fb2274d77a3e8160ab7ad9c2d /lib/CodeGen/LowerSubregs.cpp | |
parent | b4a9631e556ea6bc173fa8c88cd8ef825e23e2da (diff) |
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
Diffstat (limited to 'lib/CodeGen/LowerSubregs.cpp')
0 files changed, 0 insertions, 0 deletions