@jdoerfert Looks like these are placeholders for incoming abstract attributes patches so I've just commented the code out, even though this is usually frowned upon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362592
91177308-0d34-0410-b5e6-
96231b3b80d8
if (!Attr.isEnumAttribute())
return;
- switch (Attr.getKindAsEnum()) {
- default:
- return;
- }
+ //switch (Attr.getKindAsEnum()) {
+ //default:
+ // return;
+ //}
}
/// Helper to identify the correct offset into an attribute list.
// to concrete attributes we only cache the ones that are as identified in
// the following switch.
// Note: There are no concrete attributes now so this is initially empty.
- switch (I.getOpcode()) {
- default:
- break;
- }
+ //switch (I.getOpcode()) {
+ //default:
+ // break;
+ //}
if (IsInterestingOpcode)
InstOpcodeMap[I.getOpcode()].push_back(&I);
if (I.mayReadOrWriteMemory())