mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 08:28:19 +00:00
Fix comment.
llvm-svn: 93831
This commit is contained in:
parent
f1a3f81a1d
commit
5b602f9bf7
@ -366,7 +366,7 @@ Instruction *InstCombiner::visitStoreInst(StoreInst &SI) {
|
||||
// alloca dead.
|
||||
// If the RHS is an alloca with a two uses, the other one being a
|
||||
// llvm.dbg.declare, zapify the store and the declare, making the
|
||||
// alloca dead. We must do this to prevent declare's from affecting
|
||||
// alloca dead. We must do this to prevent declares from affecting
|
||||
// codegen.
|
||||
if (!SI.isVolatile()) {
|
||||
if (Ptr->hasOneUse()) {
|
||||
|
Loading…
Reference in New Issue
Block a user