PD-L1 expression and CD8+ tumor-infiltrating lymphocytes are associated with ALK rearrangement and clinicopathological features in inflammatory myofibroblastic tumors. Here, CD8A is linked to inflammatory myofibroblastic tumor.