XML 107 R84.htm IDEA: XBRL DOCUMENT v3.23.2
Restructuring (Details) - One-time Termination Benefits
$ in Millions
12 Months Ended
May 31, 2021
USD ($)
Restructuring Cost and Reserve [Line Items]  
Payments for restructuring $ 212
Operating Overhead Expense  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 214
Stock-based compensation expense 41
Cost of sales  
Restructuring Cost and Reserve [Line Items]  
Restructuring charges 35
Stock-based compensation expense $ 4