Doh. Calls clobber EFLAGS.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 27 Sep 2007 19:01:55 +0000 (19:01 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 27 Sep 2007 19:01:55 +0000 (19:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42413 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrX86-64.td

index c0287c40012ce056b3a1f63487d1bf31516ed3ae..ec6b9095f075d08948a5d68dda7518187ea75d90 100644 (file)
@@ -93,7 +93,7 @@ let isCall = 1 in
               FP0, FP1, FP2, FP3, FP4, FP5, FP6, ST0,
               MM0, MM1, MM2, MM3, MM4, MM5, MM6, MM7,
               XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7,
-              XMM8, XMM9, XMM10, XMM11, XMM12, XMM13, XMM14, XMM15] in {
+              XMM8, XMM9, XMM10, XMM11, XMM12, XMM13, XMM14, XMM15, EFLAGS] in {
     def CALL64pcrel32 : I<0xE8, RawFrm, (outs), (ins i64imm:$dst, variable_ops),
                           "call\t${dst:call}", []>;
     def CALL64r       : I<0xFF, MRM2r, (outs), (ins GR64:$dst, variable_ops),