Did the U.S. fought Daesh in Iraq 1

Did the U.S. fought Daesh in Iraq?
The United States aid to Daesh while it claimed to be fighting it …
1.Deploying combat forces and intelligence units in Iraq-Syria border regions. Those forces were tasked with gathering intelligence about Iraq’s Popular Mobilization forces and deliver them to the Daesh terrorists.
2.Turning the United States’ al-Tanf airbase in Syria to Daesh’s operation room as thousands of Daesh fighters are in that airbase and get trained and briefed about the U.S. plans.