Struct byval cleanup: add helper functions to reduce code duplication.
authorManman Ren <manman.ren@gmail.com>
Tue, 29 Oct 2013 22:27:32 +0000 (22:27 +0000)
committerManman Ren <manman.ren@gmail.com>
Tue, 29 Oct 2013 22:27:32 +0000 (22:27 +0000)
commitd1ea5928ddbd38e99507f7f18df8ec8a865c7799
treee53016292939b49bba5f9473af25722c1443f4bd
parent4598b40ce62dceb5ff96bbb7caeebd1ca57ae3fe
Struct byval cleanup: add helper functions to reduce code duplication.

Helper functions are added:
emitPostLd: emit a post-increment load operation with given size.
emitPostSt: emit a post-increment store operation with given size.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193656 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp