The U.S. Senate is expected to take up a measure Wednesday designed to make sweeping reforms to the nation 's intelligence agencies .