summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCDwarf.cpp
diff options
context:
space:
mode:
authorJiangning Liu <jiangning.liu@arm.com>2014-09-05 02:55:24 +0000
committerJiangning Liu <jiangning.liu@arm.com>2014-09-05 02:55:24 +0000
commit1a486da543b7e4ea7a635f8f467542fd9398772c (patch)
tree3362d36ec17da7f970822e079e517cd1c7fabe6b /llvm/lib/MC/MCDwarf.cpp
parent2feff785fc5de96968386b8949a34abb6a6a9c47 (diff)
downloadbcm5719-llvm-1a486da543b7e4ea7a635f8f467542fd9398772c.tar.gz
bcm5719-llvm-1a486da543b7e4ea7a635f8f467542fd9398772c.zip
[AArch64] Add pass to enable additional comparison optimizations by CSE.
Patched by Sergey Dmitrouk. This pass tries to make consecutive compares of values use same operands to allow CSE pass to remove duplicated instructions. For this it analyzes branches and adjusts comparisons with immediate values by converting: GE -> GT GT -> GE LT -> LE LE -> LT and adjusting immediate values appropriately. It basically corrects two immediate values towards each other to make them equal. llvm-svn: 217220
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud