Perform constant-phi removal on the function.
(
&mut self,
fisa: FOI,
)
| 271 | |
| 272 | /// Perform constant-phi removal on the function. |
| 273 | pub fn remove_constant_phis<'a, FOI: Into<FlagsOrIsa<'a>>>( |
| 274 | &mut self, |
| 275 | fisa: FOI, |
| 276 | ) -> CodegenResult<()> { |
| 277 | do_remove_constant_phis(&mut self.func, &mut self.domtree); |
| 278 | self.verify_if(fisa)?; |
| 279 | Ok(()) |
| 280 | } |
| 281 | |
| 282 | /// Perform NaN canonicalizing rewrites on the function. |
| 283 | pub fn canonicalize_nans(&mut self, isa: &dyn TargetIsa) -> CodegenResult<()> { |
no test coverage detected