[LLVMdev] sitofp (original) (raw)
Pan, Wei wei.pan at intel.com
Mon Jan 19 17:41:26 PST 2015
- Previous message: [LLVMdev] larger-than-legal types in LLVM IR
- Next message: [LLVMdev] heads up: BPF backend
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
Just wondering if it is correct to fold sitofp(zext(X)) into uitofp(X). The following code is out of clang
%1 = zext i8 to i32 %2 = sitofp i32 %1 to float
It seems InstCombine does not match this case.
Thanks, Wei
- Previous message: [LLVMdev] larger-than-legal types in LLVM IR
- Next message: [LLVMdev] heads up: BPF backend
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]