[llvm] 3a8c706 - [TypePromotion] Prune Intrinsic includes. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 20 13:06:27 PDT 2021
Author: Craig Topper
Date: 2021-06-20T13:04:02-07:00
New Revision: 3a8c7060cc3c6c6dc427f27e2870da490d1ec430
URL: https://github.com/llvm/llvm-project/commit/3a8c7060cc3c6c6dc427f27e2870da490d1ec430
DIFF: https://github.com/llvm/llvm-project/commit/3a8c7060cc3c6c6dc427f27e2870da490d1ec430.diff
LOG: [TypePromotion] Prune Intrinsic includes. NFC
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.
Added:
Modified:
llvm/lib/CodeGen/TypePromotion.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/TypePromotion.cpp b/llvm/lib/CodeGen/TypePromotion.cpp
index 1a488863a8cd4..cc459a348b646 100644
--- a/llvm/lib/CodeGen/TypePromotion.cpp
+++ b/llvm/lib/CodeGen/TypePromotion.cpp
@@ -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"
More information about the llvm-commits
mailing list