summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-04-22 06:37:45 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-04-22 06:37:45 +0000
commit9554c1339c02857bdb46c81d444dae245f7ff1c1 (patch)
treef50d5e9f8cfd7b41e18f7d23dceb9fcdea642664 /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parentefdeb45ffdc561ece0aaf0ee38f46920257bc513 (diff)
downloadbcm5719-llvm-9554c1339c02857bdb46c81d444dae245f7ff1c1.tar.gz
bcm5719-llvm-9554c1339c02857bdb46c81d444dae245f7ff1c1.zip
[EarlyCSE] Take the intersection of flags on instructions
EarlyCSE had inconsistent behavior with regards to flag'd instructions: - In some cases, it would pessimize if the available instruction had different flags by not performing CSE. - In other cases, it would miscompile if it replaced an instruction which had no flags with an instruction which has flags. Fix this by being more consistent with our flag handling by utilizing andIRFlags. llvm-svn: 267111
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud