| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Change eliminateCallFramePseudoInstr() to return an iterator | Hans Wennborg | 2016-03-31 | 1 | -10/+1 |
| | | | | | | | | | | | | | | | | | | | | | | This will become necessary in a subsequent change to make this method merge adjacent stack adjustments, i.e. it might erase the previous and/or next instruction. It also greatly simplifies the calls to this function from Prolog- EpilogInserter. Previously, that had a bunch of logic to resume iteration after the call; now it just continues with the returned iterator. Note that this changes the behaviour of PEI a little. Previously, it attempted to re-visit the new instruction created by eliminateCallFramePseudoInstr(). That code was added in r36625, but I can't see any reason for it: the new instructions will obviously not be pseudo instructions, they will not have FrameIndex operands, and we have already accounted for the stack adjustment. Differential Revision: http://reviews.llvm.org/D18627 llvm-svn: 265036 | ||||
| * | [WebAssembly] Add `final` keywords to a few more subclasses, for consistency. | Dan Gohman | 2016-03-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 263287 | ||||
| * | Update to use new name alignTo(). | Rui Ueyama | 2016-01-14 | 1 | -5/+5 |
| | | | | | llvm-svn: 257804 | ||||
| * | [WebAssembly] Implement prolog/epilog insertion and FrameIndex elimination | Derek Schuff | 2015-12-11 | 1 | -0/+1066 |
| Summary: Use the SP32 physical register as the base for FrameIndex lowering. Update it and the __stack_pointer global var in the prolog and epilog. Extend the mapping of virtual registers to wasm locals to include the physical registers. Rather than modify the target-independent PrologEpilogInserter (which asserts that there are no virtual registers left) include a slightly-modified copy for Wasm that does not have this assertion and only clears the virtual registers if scavenging was needed (which of course it isn't for wasm). Differential Revision: http://reviews.llvm.org/D15344 llvm-svn: 255392 | |||||

