summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-10-21 19:51:55 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-10-21 19:51:55 +0000
commitd205602a0b05bd2c28c03117ae5054c34dc8c4f8 (patch)
tree869250b7dd60bf6bfacee983d0e59d0ce2d5b644 /lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
parent9d35e2e70e163d93a1e3da691de6ad9ec22288e6 (diff)
downloadbcm5719-llvm-d205602a0b05bd2c28c03117ae5054c34dc8c4f8.tar.gz
bcm5719-llvm-d205602a0b05bd2c28c03117ae5054c34dc8c4f8.zip
InstCombine: Simplify FoldICmpCstShrCst
This function was complicated by the fact that it tried to perform canonicalizations that were already preformed by InstSimplify. Remove this extra code and move the tests over to InstSimplify. Add asserts to make sure our preconditions hold before we make any assumptions. llvm-svn: 220314
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud