[TypePromotion] Prune Intrinsic includes. NFC
authorCraig Topper <craig.topper@sifive.com>
Sun, 20 Jun 2021 02:52:52 +0000 (19:52 -0700)
committerCraig Topper <craig.topper@sifive.com>
Sun, 20 Jun 2021 20:04:02 +0000 (13:04 -0700)
TypePromotion is meant to be a generic pass and doesn't reference
any ARM intrinsics so it shouldn't include IntrinsicsARM.h.
The other Intrinsic related headers appear to be unneeded as well.

llvm/lib/CodeGen/TypePromotion.cpp

index 1a48886..cc459a3 100644 (file)
@@ -30,9 +30,6 @@
 #include "llvm/IR/InstrTypes.h"
 #include "llvm/IR/Instruction.h"
 #include "llvm/IR/Instructions.h"
-#include "llvm/IR/IntrinsicInst.h"
-#include "llvm/IR/Intrinsics.h"
-#include "llvm/IR/IntrinsicsARM.h"
 #include "llvm/IR/Type.h"
 #include "llvm/IR/Value.h"
 #include "llvm/IR/Verifier.h"