aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-10-03 01:27:26 +0000
committerVedant Kumar <vsk@apple.com>2017-10-03 01:27:26 +0000
commita8ff3b3528a0027e0b937d8c2a03c31c66f6a970 (patch)
tree9f98dc17dac2fec8dc4758955a2101a44860ad4f /llvm/lib/CodeGen/MachineScheduler.cpp
parent791f70115b262406960e4862ea15aa3b41dc5423 (diff)
downloadllvm-a8ff3b3528a0027e0b937d8c2a03c31c66f6a970.zip
llvm-a8ff3b3528a0027e0b937d8c2a03c31c66f6a970.tar.gz
llvm-a8ff3b3528a0027e0b937d8c2a03c31c66f6a970.tar.bz2
[ubsan] Skip alignment checks which are folded away
Don't emit alignment checks which the IR constant folder throws away. I've tested this out on X86FastISel.cpp. While this doesn't decrease end-to-end compile-time significantly, it results in 122 fewer type checks (1% reduction) overall, without adding any real complexity. Differential Revision: https://reviews.llvm.org/D37544 llvm-svn: 314752
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions