trivial fix for PR20314
authorSanjay Patel <spatel@rotateright.com>
Wed, 16 Jul 2014 21:08:10 +0000 (21:08 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 16 Jul 2014 21:08:10 +0000 (21:08 +0000)
commitab60d04363bf9aac9f4754ab91d0ab520f30ae79
treec57ee4229971575f49ce365d92d32d1dd43d7bfa
parent0fdd3ae54d07ec8a84efa9ff676d64d7693f88dc
trivial fix for PR20314

Make sure that the AddrInst is an Instruction.

llvm-svn: 213197
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/test/CodeGen/X86/pr20314.ll [new file with mode: 0644]