Heejin Ahn
e73c7a1ab2
[WebAssembly] Fix stack pointer store check in RegStackify
...
Summary:
We now use __stack_pointer global and global.get/global.set instruction.
This fixes the checking routine for stack_pointer writes accordingly.
This also fixes the existing __stack_pointer test in reg-stackify.ll:
That test used to pass not because of __stack_pointer clashes but
because the function `stackpointer_callee` was not marked as `readnone`,
so it was assumed to possibly write to memory arbitraily, and
`global.set` instruction was marked as `mayStore` in the .td definition,
so they were identified as intervening writes. After we added `readnone`
to its attribute, this test fails without this patch.
Reviewers: dschuff, sunfish
Subscribers: jgravelle-google, sbc100, llvm-commits
Differential Revision: https://reviews.llvm.org/D56094
llvm-svn: 350906
2019-01-10 23:12:07 +00:00
..
2018-11-13 19:14:02 +00:00
2018-11-19 17:10:36 +00:00
2018-10-25 23:45:48 +00:00
2018-11-19 17:10:36 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2018-08-27 15:45:51 +00:00
2018-10-25 23:55:10 +00:00
2019-01-08 06:25:55 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2018-11-19 17:10:36 +00:00
2018-11-19 17:10:36 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2019-01-09 14:20:20 +00:00
2019-01-08 06:25:55 +00:00
2019-01-09 14:20:20 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2018-11-19 17:10:36 +00:00
2018-08-27 15:45:51 +00:00
2018-11-19 17:10:36 +00:00
2018-12-20 04:20:32 +00:00
2018-08-27 15:45:51 +00:00
2018-11-19 17:10:36 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-01-03 23:10:11 +00:00
2019-01-03 23:10:11 +00:00
2019-01-03 23:10:11 +00:00
2019-01-03 23:10:11 +00:00
2019-01-08 06:25:55 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2018-08-27 15:45:51 +00:00
2018-11-20 19:25:07 +00:00
2018-11-08 22:56:26 +00:00
2018-11-20 19:25:07 +00:00
2018-11-19 17:10:36 +00:00
2018-11-19 17:10:36 +00:00
2018-11-19 17:10:36 +00:00
2018-11-19 17:10:36 +00:00
2018-08-27 15:45:51 +00:00
2018-11-19 17:10:36 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2018-11-18 11:58:47 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2018-11-19 17:10:36 +00:00
2019-01-08 06:25:55 +00:00
2019-01-10 23:12:07 +00:00
2018-11-08 02:35:28 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2018-11-19 17:10:36 +00:00
2018-11-19 17:10:36 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2019-01-10 22:32:11 +00:00
2019-01-10 22:32:11 +00:00
2019-01-10 22:32:11 +00:00
2019-01-10 22:32:11 +00:00
2019-01-10 22:32:11 +00:00
2019-01-10 22:32:11 +00:00
2019-01-10 22:32:11 +00:00
2018-12-21 06:58:15 +00:00
2019-01-02 20:43:08 +00:00
2019-01-10 22:32:11 +00:00
2019-01-10 22:32:11 +00:00
2019-01-10 22:32:11 +00:00
2019-01-10 22:32:11 +00:00
2019-01-08 06:25:55 +00:00
2018-12-17 22:04:44 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2018-08-27 15:45:51 +00:00
2018-11-19 17:10:36 +00:00
2018-11-19 17:10:36 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2018-07-02 16:03:49 +00:00
2018-11-16 18:59:51 +00:00
2018-11-16 00:47:18 +00:00