[llvm-dev] Storing and loading of i1 (original) (raw)
Haidl, Michael via llvm-dev llvm-dev at lists.llvm.org
Thu Aug 17 05:21:15 PDT 2017
- Previous message: [llvm-dev] reg coalescing improvements
- Next message: [llvm-dev] Storing and loading of i1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I am looking for the canonical way to store i1 values (results from compares) to memory and load them back in another function. Is a zext to i8 before the store and a trunc to i1 after the load of the stored i8 a safe approach?
Cheers, Michael Haidl
- Previous message: [llvm-dev] reg coalescing improvements
- Next message: [llvm-dev] Storing and loading of i1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]