[llvm] 1b1f8d6 - [SeparateConstOffsetFromGEP] Remove TargetMachine.h include. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 25 21:40:59 PST 2022


Author: Craig Topper
Date: 2022-02-25T21:40:00-08:00
New Revision: 1b1f8d6efffb2c9fc8f76563f313107832728144

URL: https://github.com/llvm/llvm-project/commit/1b1f8d6efffb2c9fc8f76563f313107832728144
DIFF: https://github.com/llvm/llvm-project/commit/1b1f8d6efffb2c9fc8f76563f313107832728144.diff

LOG: [SeparateConstOffsetFromGEP] Remove TargetMachine.h include. NFC

This doesn't appear to be used and it would be a layering violation
if it was.

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp b/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
index d23925042b0ae..7da5a78772ade 100644
--- a/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
+++ b/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
@@ -189,7 +189,6 @@
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/raw_ostream.h"
-#include "llvm/Target/TargetMachine.h"
 #include "llvm/Transforms/Scalar.h"
 #include "llvm/Transforms/Utils/Local.h"
 #include <cassert>


        


More information about the llvm-commits mailing list