Fix PR17631
authorMichael Liao <michael.liao@intel.com>
Wed, 23 Oct 2013 18:32:43 +0000 (18:32 +0000)
committerMichael Liao <michael.liao@intel.com>
Wed, 23 Oct 2013 18:32:43 +0000 (18:32 +0000)
commitc7bf44d7bb79e8fc71c8b7996fc9f3a60f7a4925
tree009945b6464ad8cd702be2c75e75a3abf7e071e0
parent4598907ff84ed4fba270e159607268f0ee8d6307
Fix PR17631

- Skip instructions added in prolog. For specific targets, prolog may
  insert helper function calls (e.g. _chkstk will be called when
  there're more than 4K bytes allocated on stack). However, these
  helpers don't use/def YMM/XMM registers.

llvm-svn: 193261
llvm/lib/Target/X86/X86VZeroUpper.cpp
llvm/test/CodeGen/X86/pr17631.ll [new file with mode: 0644]