diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2022-10-07 11:52:51 -0700 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2022-12-07 22:57:52 -0800 |
commit | 1eab2d699e9581305f32473291e6afa47017d582 (patch) | |
tree | 1d5db27501881b23437e00e999fac335d710a7b7 /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 5ac633d2de9335b4ca6ca7b0ae128a4591d3e4c0 (diff) | |
download | llvm-1eab2d699e9581305f32473291e6afa47017d582.zip llvm-1eab2d699e9581305f32473291e6afa47017d582.tar.gz llvm-1eab2d699e9581305f32473291e6afa47017d582.tar.bz2 |
[Attributor] Keep complex select and PHI instructions in AAPotentialValues
If a select or PHI instruction cannot be simplified to a single value it
is often beneficial to keep the value intact rather than looking at all
the operands. The reason is that various users require a single value
and consequently can deal with the select or PHI but not multiple
operands. Recursive calls of `Attributor::getAssumedSimplifiedValues`
will be required to take such select and PHI instructions apart.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions