Neither one used an AR-15.
The slug in Dallas used an AK and the Baton Rouge killer used an Iraeli bull pup.
AK-74 in Dallas and IWI Tavor SAR in Baton Rouge.