aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/volatile-side-effect.c
AgeCommit message (Collapse)AuthorFilesLines
2017-11-10volatile loads are side-effects tooLuc Van Oostenryck1-0/+13
Some branch simplifications are only valid if the branch is free of side-effects. The check is done in flow.c:bb_has_side_effects() but currently deosn't take in account the fact that a volatile load is also a side-effect. Fix this by adding the appropriate check. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>