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)
commit531f025361555e7a695eb559ec02645c054ee146
tree4b363afb627fe1266a9c96bad74b8581f694f4dd
parentdf5ed1b08acf0f278275bce15ffc6d2cf953816d
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193261 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86VZeroUpper.cpp
test/CodeGen/X86/pr17631.ll [new file with mode: 0644]