aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Alpha/AlphaTargetMachine.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-11-14 13:30:18 +0000
committerDuncan Sands <baldrick@free.fr>2010-11-14 13:30:18 +0000
commitcd6636c737a82949ad13db2d0d918af6424fb78b (patch)
treed3a7b6371ca1c32f8ca737e1dfb5625b7af8b6e5 /lib/Target/Alpha/AlphaTargetMachine.cpp
parentc0362d5c6e0066c741bce056a65d8b4c026de19f (diff)
Teach InstructionSimplify about phi nodes. I chose to have it simply
offload the work to hasConstantValue rather than do something more complicated (such handling mutually recursive phis) because (1) it is not clear it is worth it; and (2) if it is worth it, maybe such logic would be better placed in hasConstantValue. Adjust some GVN tests which are now cleaned up much further (eg: all phi nodes are removed). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119043 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha/AlphaTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions