diff options
author | Michael Forney <mforney@mforney.org> | 2021-09-28 17:35:46 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-09-28 17:39:59 -0700 |
commit | e196f1607a9f07198653431681617a601edc07f3 (patch) | |
tree | a60f64f7ae58f0acba64b263bd1ed3496eb02c0d /test/bitfield-unnamed-size-align.qbe | |
parent | f4161c24d903fd4ecfd130d00fb410ef7b70eb16 (diff) |
expr: Skip codegen for unused expression in conditional with constant expression
This compiles `0 ? e1 : e2` as `e2`, and `1 ? e1 : e2` as `e1`
(while still adjusting the type as necessary).
Diffstat (limited to 'test/bitfield-unnamed-size-align.qbe')
0 files changed, 0 insertions, 0 deletions