[PATCH] D22900: Revert r244207 - Mark calls in thunk functions as tail-call optimization

David Majnemer via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 27 20:13:36 PDT 2016


majnemer added a subscriber: majnemer.
majnemer added a comment.

The test seems a little large, the following shows that we emit a tail call with a byval argument on trunk.

  struct LARGE {
    union {
      int i;
    };
  };
  struct I {
    virtual void m_fn1(LARGE);
  };
  struct CBase {
    virtual ~CBase();
  };
  struct C : CBase, I {
    void Seek(LARGE);
  };
  void C::Seek(LARGE) {}


https://reviews.llvm.org/D22900





More information about the cfe-commits mailing list