HomePhabricator

[Analysis][LoopVectorize] rename "Unsafe" variables/methods; NFC

Authored by spatel on Mar 4 2021, 5:47 AM.

Description

[Analysis][LoopVectorize] rename "Unsafe" variables/methods; NFC

We are tracking an FP instruction that does *not* have FMF (reassoc)
properties, so calling that "Unsafe" seems opposite of the common
reading.

I also removed one getter method by rolling the null check into
the access. Further simplification seems possible.

The motivation is to clean up the interactions between FMF and
function-level attributes in these classes and their callers.

Details

Committed
spatelMar 4 2021, 5:53 AM
Parents
rG91c9dee3fb6d: [CodeGenPrepare] Eliminate llvm.expect before removing empty blocks
Branches
Unknown
Tags
Unknown