aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2014-10-01 22:44:01 +0000
committerBob Wilson <bob.wilson@apple.com>2014-10-01 22:44:01 +0000
commit650cd8a38079ba1bd4e75ee5e4b623306f0e8407 (patch)
tree8c7ee39dd8761c868841308e4b51c4ec54095a03 /clang/lib/CodeGen/CodeGenFunction.cpp
parent5346f884da854e0105c90c512661bc930129f8bb (diff)
downloadllvm-650cd8a38079ba1bd4e75ee5e4b623306f0e8407.zip
llvm-650cd8a38079ba1bd4e75ee5e4b623306f0e8407.tar.gz
llvm-650cd8a38079ba1bd4e75ee5e4b623306f0e8407.tar.bz2
PR21101: tablegen's FastISel emitter should filter out unused functions.
FastISel has a fixed set of virtual functions that are overridden by the tablegen-generated code for each target. These functions are distinguished by the kinds of operands, e.g., register + immediate = "ri". The FastISel emitter has been blindly emitting functions with different combinations of operand kinds, even for combinations that are completely unused by FastISel, e.g., "fastEmit_rrr". Change to filter out functions that will be irrelevant for FastISel and do not bother generating the code for them. Also add explicit "override" keywords for the virtual functions that are overridden. llvm-svn: 218838
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions